summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-rule.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-07 22:05:37 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-07 22:05:37 +0100
commitb4ac2f6479bb618a54b7dff533ae15b9a9bf8831 (patch)
tree497348866e5b59a66f053cedd00759c2b8dcd54c /interface-definitions/include/nat-rule.xml.i
parentb9c2ce3e3589fe3c94d6d8d258e1bbc43571e690 (diff)
downloadvyos-1x-b4ac2f6479bb618a54b7dff533ae15b9a9bf8831.tar.gz
vyos-1x-b4ac2f6479bb618a54b7dff533ae15b9a9bf8831.zip
xml: nat: use generic bulding block for rule description
Diffstat (limited to 'interface-definitions/include/nat-rule.xml.i')
-rw-r--r--interface-definitions/include/nat-rule.xml.i8
1 files changed, 2 insertions, 6 deletions
diff --git a/interface-definitions/include/nat-rule.xml.i b/interface-definitions/include/nat-rule.xml.i
index 084f1f722..bdb86ed9b 100644
--- a/interface-definitions/include/nat-rule.xml.i
+++ b/interface-definitions/include/nat-rule.xml.i
@@ -4,7 +4,7 @@
<help>Rule number for NAT</help>
<valueHelp>
<format>u32:1-999999</format>
- <description>Number for this NAT rule</description>
+ <description>Number of NAT rule</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-999999"/>
@@ -12,11 +12,7 @@
<constraintErrorMessage>NAT rule number must be between 1 and 999999</constraintErrorMessage>
</properties>
<children>
- <leafNode name="description">
- <properties>
- <help>Rule description</help>
- </properties>
- </leafNode>
+ #include <include/generic-description.xml.i>
<node name="destination">
<properties>
<help>NAT destination parameters</help>