diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-07 17:25:30 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-07 17:25:58 +0100 |
commit | 582f52764afce78b9be0d95b88f6dc8d0bff9690 (patch) | |
tree | 247dae4f9ae18a34dc1b8582d1860092b6d3fff2 /interface-definitions/interfaces-openvpn.xml.in | |
parent | e426b103b803b61e6593e1662c470d0f23a9a36f (diff) | |
download | vyos-1x-582f52764afce78b9be0d95b88f6dc8d0bff9690.tar.gz vyos-1x-582f52764afce78b9be0d95b88f6dc8d0bff9690.zip |
xml: include: provide generic include for disable node
Diffstat (limited to 'interface-definitions/interfaces-openvpn.xml.in')
-rw-r--r-- | interface-definitions/interfaces-openvpn.xml.in | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in index 34040bf72..527f7fd54 100644 --- a/interface-definitions/interfaces-openvpn.xml.in +++ b/interface-definitions/interfaces-openvpn.xml.in @@ -418,12 +418,7 @@ </valueHelp> </properties> <children> - <leafNode name="disable"> - <properties> - <help>Option to disable client connection</help> - <valueless/> - </properties> - </leafNode> + #include <include/generic-disable-node.xml.i> <leafNode name="ip"> <properties> <help>IP address of the client</help> @@ -482,12 +477,7 @@ <help>Pool of client IPv4 addresses</help> </properties> <children> - <leafNode name="disable"> - <properties> - <help>Disable client IP pool</help> - <valueless/> - </properties> - </leafNode> + #include <include/generic-disable-node.xml.i> <leafNode name="start"> <properties> <help>First IP address in the pool</help> @@ -546,12 +536,7 @@ </constraint> </properties> </leafNode> - <leafNode name="disable"> - <properties> - <help>Disable client IPv6 pool</help> - <valueless/> - </properties> - </leafNode> + #include <include/generic-disable-node.xml.i> </children> </node> <leafNode name="domain-name"> |