feat: Allow more than two dns entries

This commit is contained in:
2026-04-17 20:59:42 +02:00
parent afcca9eb47
commit 7142ff0fa3
3 changed files with 3 additions and 7 deletions
+1 -3
View File
@@ -143,9 +143,7 @@
"items": {
"type": "string",
"format": "ipv4"
},
"maxItems": 2,
"minItems": 2
}
},
"gateway": {
"type": [
+1 -3
View File
@@ -139,9 +139,7 @@
"items": {
"type": "string",
"format": "ipv4"
},
"maxItems": 2,
"minItems": 2
}
},
"gateway": {
"type": [
+1 -1
View File
@@ -53,7 +53,7 @@ struct Network {
ip: Ipv4Addr,
netmask: Ipv4Addr,
gateway: Ipv4Addr,
dns: [Ipv4Addr; 2],
dns: Vec<Ipv4Addr>,
#[optional_rename(OptionalTailscale)]
#[optional_wrap]
tailscale: Tailscale,