summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-10 21:33:56 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-10 21:34:33 +0100
commit1be5cba3636c5c59873542348c9fd0b6e695be04 (patch)
tree2a0d8d7510c5f02fefabb0db3c02c130aba48378
parent18f0f12d61763302a5b85b37e6755537fb9a55cd (diff)
downloadvyos-1x-1be5cba3636c5c59873542348c9fd0b6e695be04.tar.gz
vyos-1x-1be5cba3636c5c59873542348c9fd0b6e695be04.zip
openvpn: xml: T1843: re-use generic username and password building block
-rw-r--r--interface-definitions/interfaces-openvpn.xml.in18
1 files changed, 1 insertions, 17 deletions
diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in
index 63272a25f..cf0ff497c 100644
--- a/interface-definitions/interfaces-openvpn.xml.in
+++ b/interface-definitions/interfaces-openvpn.xml.in
@@ -16,23 +16,7 @@
</valueHelp>
</properties>
<children>
- <node name="authentication">
- <properties>
- <help>Authentication options</help>
- </properties>
- <children>
- <leafNode name="password">
- <properties>
- <help>OpenVPN password used for authentication</help>
- </properties>
- </leafNode>
- <leafNode name="username">
- <properties>
- <help>OpenVPN username used for authentication</help>
- </properties>
- </leafNode>
- </children>
- </node>
+ #include <include/interface/authentication.xml.i>
#include <include/generic-description.xml.i>
<leafNode name="device-type">
<properties>