mirror of https://github.com/jetkvm/kvm.git
parent
3391fa6180
commit
e3af69815b
|
|
@ -261,7 +261,7 @@ export default function SettingsNetworkRoute() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dirty.ipv4_static?.gateway) {
|
if (dirty.ipv6_static?.gateway) {
|
||||||
changes.push({
|
changes.push({
|
||||||
label: m.network_ipv6_gateway(),
|
label: m.network_ipv6_gateway(),
|
||||||
from: initialSettingsRef.current?.ipv6_static?.gateway as string,
|
from: initialSettingsRef.current?.ipv6_static?.gateway as string,
|
||||||
|
|
@ -273,7 +273,7 @@ export default function SettingsNetworkRoute() {
|
||||||
changes.push({
|
changes.push({
|
||||||
label: m.network_ipv6_dns(),
|
label: m.network_ipv6_dns(),
|
||||||
from: initialSettingsRef.current?.ipv6_static?.dns.join(", ").toString() ?? "",
|
from: initialSettingsRef.current?.ipv6_static?.dns.join(", ").toString() ?? "",
|
||||||
to: data.ipv4_static?.dns.join(", ").toString() ?? "",
|
to: data.ipv6_static?.dns.join(", ").toString() ?? "",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue