diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-01-10 01:00:12 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-01-10 21:18:03 +0100 |
commit | a5ad98b2307af974dd498a84caec94fa613f7491 (patch) | |
tree | 2c5f037102ad455f22d272e8794c5394e2f34656 /interface-definitions/firewall.xml.in | |
parent | 436805a69df324767c3efdf8d72127bef42fd720 (diff) | |
download | vyos-1x-a5ad98b2307af974dd498a84caec94fa613f7491.tar.gz vyos-1x-a5ad98b2307af974dd498a84caec94fa613f7491.zip |
firewall: validators: T2199: Improve port validation
Diffstat (limited to 'interface-definitions/firewall.xml.in')
-rw-r--r-- | interface-definitions/firewall.xml.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index 78a48a522..07a36093f 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -182,6 +182,9 @@ <description>Numbered port range (e.g. 1001-1050)</description> </valueHelp> <multi/> + <constraint> + <validator name="port-range"/> + </constraint> </properties> </leafNode> </children> |