summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
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>