summaryrefslogtreecommitdiff
path: root/interface-definitions/service-upnp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-19 20:31:33 +0200
committerGitHub <noreply@github.com>2022-08-19 20:31:33 +0200
commitd247bc04b765a92c973ef93d94f8955312fdc13c (patch)
tree50a8aa29e49891380da36bb2bc8fc8f5e2497a3b /interface-definitions/service-upnp.xml.in
parentf92a23ef9ab8be59681e5b7ba627e399d89bce53 (diff)
parent6940bcf8d650eea714075df74b47bf0c99642743 (diff)
downloadvyos-1x-d247bc04b765a92c973ef93d94f8955312fdc13c.tar.gz
vyos-1x-d247bc04b765a92c973ef93d94f8955312fdc13c.zip
Merge pull request #1476 from sever-sever/T4620
UPnP: T4211: T4620 Fix upnp template
Diffstat (limited to 'interface-definitions/service-upnp.xml.in')
-rw-r--r--interface-definitions/service-upnp.xml.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/interface-definitions/service-upnp.xml.in b/interface-definitions/service-upnp.xml.in
index b1e6f170a..ec23d87df 100644
--- a/interface-definitions/service-upnp.xml.in
+++ b/interface-definitions/service-upnp.xml.in
@@ -197,10 +197,15 @@
<help>The IP to which this rule applies (REQUIRE)</help>
<valueHelp>
<format>ipv4</format>
+ <description>The IPv4 address to which this rule applies</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv4net</format>
<description>The IPv4 to which this rule applies</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address" />
+ <validator name="ipv4-address"/>
+ <validator name="ipv4-host"/>
</constraint>
</properties>
</leafNode>