summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-12 11:50:07 +0200
committerChristian Poessinger <christian@poessinger.com>2020-07-12 11:50:07 +0200
commit149ea57f54e06a5158bd7108d7a017a98676d251 (patch)
tree0a2e3273c7cb668245382ecec6959bda72972f59 /interface-definitions
parentd9c7dfb1e7a8ad4a44b571e3d4b8d87ff3898678 (diff)
downloadvyos-1x-149ea57f54e06a5158bd7108d7a017a98676d251.tar.gz
vyos-1x-149ea57f54e06a5158bd7108d7a017a98676d251.zip
nat: T2699: rename interface include
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/nat-interface.xml.i (renamed from interface-definitions/include/nat-outbound-interface.xml.i)1
-rw-r--r--interface-definitions/nat.xml.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/interface-definitions/include/nat-outbound-interface.xml.i b/interface-definitions/include/nat-interface.xml.i
index d562f7f03..c49483297 100644
--- a/interface-definitions/include/nat-outbound-interface.xml.i
+++ b/interface-definitions/include/nat-interface.xml.i
@@ -2,6 +2,7 @@
<properties>
<help>Outbound interface of NAT traffic</help>
<completionHelp>
+ <list>any</list>
<script>${vyos_completion_dir}/list_interfaces.py</script>
</completionHelp>
</properties>
diff --git a/interface-definitions/nat.xml.in b/interface-definitions/nat.xml.in
index 7998bd660..f8415b7c0 100644
--- a/interface-definitions/nat.xml.in
+++ b/interface-definitions/nat.xml.in
@@ -81,7 +81,7 @@
<valueless/>
</properties>
</leafNode>
- #include <include/nat-outbound-interface.xml.i>
+ #include <include/nat-interface.xml.i>
<node name="source">
<properties>
<help>IPv6 source prefix options</help>
@@ -132,7 +132,7 @@
#include <include/nat-rule.xml.i>
<tagNode name="rule">
<children>
- #include <include/nat-outbound-interface.xml.i>
+ #include <include/nat-interface.xml.i>
<node name="translation">
<properties>
<help>Outside NAT IP (source NAT only)</help>