Skip to content

Commit 30348ef

Browse files
committed
[OpenWrt] Hardened ntp server option schema
1 parent ea0df12 commit 30348ef

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

netjsonconfig/backends/openwrt/schema.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,12 @@
116116
"type": "boolean"
117117
},
118118
"server": {
119-
"type": "array"
119+
"type": "array",
120+
"uniqueItems": True,
121+
"additionalItems": True,
122+
"items": {
123+
"type": "string"
124+
}
120125
}
121126
}
122127
},

0 commit comments

Comments
 (0)