mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 20:56:36 +00:00
Add link-local to ipv6
This commit is contained in:
parent
bdef9fd040
commit
9da2fdced8
@ -339,6 +339,21 @@ export class DialogHassioNetwork
|
|||||||
>
|
>
|
||||||
</ha-radio>
|
</ha-radio>
|
||||||
</ha-formfield>
|
</ha-formfield>
|
||||||
|
${version === "ipv6"
|
||||||
|
? html` <ha-formfield
|
||||||
|
.label=${this.supervisor.localize("dialog.network.link-local")}
|
||||||
|
class="warning"
|
||||||
|
>
|
||||||
|
<ha-radio
|
||||||
|
@change=${this._handleRadioValueChanged}
|
||||||
|
.version=${version}
|
||||||
|
value="link-local"
|
||||||
|
name="${version}method"
|
||||||
|
.checked=${this._interface![version]?.method === "link-local"}
|
||||||
|
>
|
||||||
|
</ha-radio>
|
||||||
|
</ha-formfield>`
|
||||||
|
: ""}
|
||||||
</div>
|
</div>
|
||||||
${this._interface![version].method === "static"
|
${this._interface![version].method === "static"
|
||||||
? html`
|
? html`
|
||||||
@ -558,7 +573,7 @@ export class DialogHassioNetwork
|
|||||||
|
|
||||||
@media all and (min-width: 451px) and (min-height: 501px) {
|
@media all and (min-width: 451px) and (min-height: 501px) {
|
||||||
.container {
|
.container {
|
||||||
width: 400px;
|
width: 500px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import { hassioApiResultExtractor, HassioResponse } from "./common";
|
|||||||
interface IpConfiguration {
|
interface IpConfiguration {
|
||||||
address: string[];
|
address: string[];
|
||||||
gateway: string;
|
gateway: string;
|
||||||
method: "disabled" | "static" | "auto";
|
method: "disabled" | "static" | "auto" | "link-local";
|
||||||
nameservers: string[];
|
nameservers: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3945,6 +3945,7 @@
|
|||||||
"static": "Static",
|
"static": "Static",
|
||||||
"dhcp": "DHCP",
|
"dhcp": "DHCP",
|
||||||
"disabled": "Disabled",
|
"disabled": "Disabled",
|
||||||
|
"link-local": "link-local",
|
||||||
"ip_netmask": "IP address/Netmask",
|
"ip_netmask": "IP address/Netmask",
|
||||||
"gateway": "Gateway address",
|
"gateway": "Gateway address",
|
||||||
"dns_servers": "DNS Servers",
|
"dns_servers": "DNS Servers",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user