summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-openvpn.xml.in
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-04-15 13:59:29 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-04-15 21:21:39 +0200
commit44dab795acaa39d8481d86022b691626989e52e8 (patch)
treea312986a8e6b167413036d9f130d8a4b74311537 /interface-definitions/interfaces-openvpn.xml.in
parent3561b1b7b735cec165cb4a71957a6ed9066ad208 (diff)
downloadvyos-1x-44dab795acaa39d8481d86022b691626989e52e8.tar.gz
vyos-1x-44dab795acaa39d8481d86022b691626989e52e8.zip
openvpn: T2335: allow disabling client-ip-pool
Diffstat (limited to 'interface-definitions/interfaces-openvpn.xml.in')
-rw-r--r--interface-definitions/interfaces-openvpn.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in
index d926876f7..574a3a58c 100644
--- a/interface-definitions/interfaces-openvpn.xml.in
+++ b/interface-definitions/interfaces-openvpn.xml.in
@@ -449,6 +449,12 @@
<help>Pool of client IP addresses</help>
</properties>
<children>
+ <leafNode name="disable">
+ <properties>
+ <help>Disable client IP pool</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<leafNode name="start">
<properties>
<help>First IP address in the pool</help>