Skip to content

Commit

Permalink
[OpenWrt] Hardened ntp server option schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Nov 27, 2015
1 parent ea0df12 commit 30348ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion netjsonconfig/backends/openwrt/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@
"type": "boolean"
},
"server": {
"type": "array"
"type": "array",
"uniqueItems": True,
"additionalItems": True,
"items": {
"type": "string"
}
}
}
},
Expand Down

0 comments on commit 30348ef

Please sign in to comment.