summaryrefslogtreecommitdiff
path: root/interface-definitions/service-upnp.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-08-16 16:19:02 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-08-19 16:46:51 +0000
commit6940bcf8d650eea714075df74b47bf0c99642743 (patch)
tree8f8afc8baccb4121cf1f71687b13b916b6a24983 /interface-definitions/service-upnp.xml.in
parentd0858015f121416a042ec847c01fefb733661bab (diff)
downloadvyos-1x-6940bcf8d650eea714075df74b47bf0c99642743.tar.gz
vyos-1x-6940bcf8d650eea714075df74b47bf0c99642743.zip
UPnP: T4611: Rule must be as prefix instead of an address
From the doc miniupnpd IP/mask format must be nnn.nnn.nnn.nnn/nn Comment out invalid option "anchor"
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 a129b7260..50cb47f39 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>