summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-06 15:04:14 -0800
committerhagbard <vyosdev@derith.de>2019-03-06 15:04:14 -0800
commite9eb1d54d0b8844a4df77236c65b9d97bc718504 (patch)
tree85d72771158af6f18b5b1dc912c4503bd3db5500
parentb9590b4f83e7d5a444b142f6a04b096fa4a583a1 (diff)
downloadvyos-1x-e9eb1d54d0b8844a4df77236c65b9d97bc718504.tar.gz
vyos-1x-e9eb1d54d0b8844a4df77236c65b9d97bc718504.zip
[pptp] added command completion and regex to check user input
-rw-r--r--interface-definitions/pptp-server.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/pptp-server.xml b/interface-definitions/pptp-server.xml
index 54c2aac63..5d16f8b9f 100644
--- a/interface-definitions/pptp-server.xml
+++ b/interface-definitions/pptp-server.xml
@@ -154,6 +154,12 @@
<format>require</format>
<description>ask client for mppe, if it rejects drop connection</description>
</valueHelp>
+ <constraint>
+ <regex>^(deny|prefer|require)</regex>
+ </constraint>
+ <completionHelp>
+ <list>deny prefer require</list>
+ </completionHelp>
</properties>
</leafNode>
<leafNode name="mode">