summaryrefslogtreecommitdiff
path: root/interface-definitions/nat66.xml.in
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-01-20 16:38:36 +0800
committerjack9603301 <jack9603301@163.com>2021-01-23 21:45:31 +0800
commit35e89dcc0311514c0388b7ccab51b379113bf104 (patch)
tree9a882ef3e3301cd46b69e009fd5654eef843a661 /interface-definitions/nat66.xml.in
parentaf6a647bfecbc601b5c5dd7077f496b933228fce (diff)
downloadvyos-1x-35e89dcc0311514c0388b7ccab51b379113bf104.tar.gz
vyos-1x-35e89dcc0311514c0388b7ccab51b379113bf104.zip
nptv6: T2518: Support many to many DNPT(DNAT66)
Diffstat (limited to 'interface-definitions/nat66.xml.in')
-rw-r--r--interface-definitions/nat66.xml.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/interface-definitions/nat66.xml.in b/interface-definitions/nat66.xml.in
index b8e8a8859..36b55f658 100644
--- a/interface-definitions/nat66.xml.in
+++ b/interface-definitions/nat66.xml.in
@@ -141,13 +141,18 @@
<children>
<leafNode name="address">
<properties>
- <help>IPv6 address to be translated</help>
+ <help>IPv6 address or prefix to be translated</help>
<valueHelp>
<format>ipv6</format>
<description>IPv6 address</description>
</valueHelp>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 prefix</description>
+ </valueHelp>
<constraint>
<validator name="ipv6-address"/>
+ <validator name="ipv6-prefix"/>
</constraint>
</properties>
</leafNode>
@@ -160,13 +165,18 @@
<children>
<leafNode name="address">
<properties>
- <help>IPv6 address to translate to</help>
+ <help>IPv6 address or prefix to translate to</help>
<valueHelp>
<format>ipv6</format>
<description>IPv6 address</description>
</valueHelp>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 prefix</description>
+ </valueHelp>
<constraint>
<validator name="ipv6-address"/>
+ <validator name="ipv6-prefix"/>
</constraint>
</properties>
</leafNode>