Skip to content

Commit

Permalink
UPnP: T4611: Rule must be as prefix instead of an address
Browse files Browse the repository at this point in the history
From the doc miniupnpd
IP/mask format must be nnn.nnn.nnn.nnn/nn
  • Loading branch information
sever-sever committed Aug 17, 2022
1 parent d085801 commit 89a983a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions interface-definitions/service-upnp.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,16 @@
<properties>
<help>The IP to which this rule applies (REQUIRE)</help>
<valueHelp>
<format>ipv4</format>
<format>ipv4net</format>
<description>The IPv4 to which this rule applies</description>
</valueHelp>
<valueHelp>
<format>ipv6net</format>
<description>The IPv6 to which this rule applies</description>
</valueHelp>
<constraint>
<validator name="ipv4-address" />
<validator name="ip-host" />
<validator name="ip-prefix"/>
</constraint>
</properties>
</leafNode>
Expand Down

0 comments on commit 89a983a

Please sign in to comment.