summaryrefslogtreecommitdiff
path: root/interface-definitions/include/listen-address-ipv4-single.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-18 20:59:17 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-18 20:59:17 +0100
commit1f34027a1cb85c289da0f3b2b74263a80118bee7 (patch)
tree1605a99134e3d728072137795a85d5e162b161e3 /interface-definitions/include/listen-address-ipv4-single.xml.i
parentae8734f1052054aa2763398f3e85da5e28a0a6f9 (diff)
downloadvyos-1x-1f34027a1cb85c289da0f3b2b74263a80118bee7.tar.gz
vyos-1x-1f34027a1cb85c289da0f3b2b74263a80118bee7.zip
ocserv: T4656: only one IP address is supported to listen on
Diffstat (limited to 'interface-definitions/include/listen-address-ipv4-single.xml.i')
-rw-r--r--interface-definitions/include/listen-address-ipv4-single.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/listen-address-ipv4-single.xml.i b/interface-definitions/include/listen-address-ipv4-single.xml.i
new file mode 100644
index 000000000..81e947953
--- /dev/null
+++ b/interface-definitions/include/listen-address-ipv4-single.xml.i
@@ -0,0 +1,17 @@
+<!-- include start from listen-address-ipv4-single.xml.i -->
+<leafNode name="listen-address">
+ <properties>
+ <help>Local IPv4 addresses to listen on</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_local_ips.sh --ipv4</script>
+ </completionHelp>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address to listen for incoming connections</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->