summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_sstp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-09 19:01:25 +0200
committerChristian Poessinger <christian@poessinger.com>2022-06-09 19:01:25 +0200
commit441baebb90b78175d4b9fe3a5c30a6515c7f4228 (patch)
treeccb8b1ae1492952711f1dcac42fa60989fd40961 /interface-definitions/vpn_sstp.xml.in
parent23f610f1a1fec326d1f68cddeaabd9c35009e47b (diff)
downloadvyos-1x-441baebb90b78175d4b9fe3a5c30a6515c7f4228.tar.gz
vyos-1x-441baebb90b78175d4b9fe3a5c30a6515c7f4228.zip
xml: sstp: T4444: re-use port-number.xml.i building block
Diffstat (limited to 'interface-definitions/vpn_sstp.xml.in')
-rw-r--r--interface-definitions/vpn_sstp.xml.in12
1 files changed, 1 insertions, 11 deletions
diff --git a/interface-definitions/vpn_sstp.xml.in b/interface-definitions/vpn_sstp.xml.in
index c85cab7dc..195d581df 100644
--- a/interface-definitions/vpn_sstp.xml.in
+++ b/interface-definitions/vpn_sstp.xml.in
@@ -37,18 +37,8 @@
</children>
</node>
#include <include/accel-ppp/client-ipv6-pool.xml.i>
+ #include <include/port-number.xml.i>
<leafNode name="port">
- <properties>
- <help>SSTP server listening port</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>SSTP server listening port</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- <constraintErrorMessage>SSTP server listening port must be between 1 and 65535</constraintErrorMessage>
- </properties>
<defaultValue>443</defaultValue>
</leafNode>
<node name="ppp-options">