diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-18 20:59:17 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-18 20:59:17 +0100 |
commit | 1f34027a1cb85c289da0f3b2b74263a80118bee7 (patch) | |
tree | 1605a99134e3d728072137795a85d5e162b161e3 /interface-definitions | |
parent | ae8734f1052054aa2763398f3e85da5e28a0a6f9 (diff) | |
download | vyos-1x-1f34027a1cb85c289da0f3b2b74263a80118bee7.tar.gz vyos-1x-1f34027a1cb85c289da0f3b2b74263a80118bee7.zip |
ocserv: T4656: only one IP address is supported to listen on
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/listen-address-ipv4-single.xml.i | 17 | ||||
-rw-r--r-- | interface-definitions/vpn-openconnect.xml.in | 2 |
2 files changed, 18 insertions, 1 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 --> diff --git a/interface-definitions/vpn-openconnect.xml.in b/interface-definitions/vpn-openconnect.xml.in index 8b60f2e6e..82fe2bbc9 100644 --- a/interface-definitions/vpn-openconnect.xml.in +++ b/interface-definitions/vpn-openconnect.xml.in @@ -150,7 +150,7 @@ </node> </children> </node> - #include <include/listen-address-ipv4.xml.i> + #include <include/listen-address-ipv4-single.xml.i> <leafNode name="listen-address"> <defaultValue>0.0.0.0</defaultValue> </leafNode> |