Allow any number of DNS nameservers #19

Merged
Dreaded_X merged 2 commits from feature/dns into main 2026-04-17 19:43:08 +00:00
3 changed files with 3 additions and 7 deletions
Showing only changes of commit 7142ff0fa3 - Show all commits
+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,