mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 04:36: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-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>
|
||||
${this._interface![version].method === "static"
|
||||
? html`
|
||||
@ -558,7 +573,7 @@ export class DialogHassioNetwork
|
||||
|
||||
@media all and (min-width: 451px) and (min-height: 501px) {
|
||||
.container {
|
||||
width: 400px;
|
||||
width: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ import { hassioApiResultExtractor, HassioResponse } from "./common";
|
||||
interface IpConfiguration {
|
||||
address: string[];
|
||||
gateway: string;
|
||||
method: "disabled" | "static" | "auto";
|
||||
method: "disabled" | "static" | "auto" | "link-local";
|
||||
nameservers: string[];
|
||||
}
|
||||
|
||||
|
@ -3945,6 +3945,7 @@
|
||||
"static": "Static",
|
||||
"dhcp": "DHCP",
|
||||
"disabled": "Disabled",
|
||||
"link-local": "link-local",
|
||||
"ip_netmask": "IP address/Netmask",
|
||||
"gateway": "Gateway address",
|
||||
"dns_servers": "DNS Servers",
|
||||
|
Loading…
x
Reference in New Issue
Block a user