summaryrefslogtreecommitdiff
path: root/interface-definitions/lldp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-03 17:10:41 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-03 17:10:41 +0200
commit43a7f4e8032e5285f3dd99785f1b41e3c2dd1ad0 (patch)
tree14f6a3d49e29420391a7b17dddf54889fc1f7316 /interface-definitions/lldp.xml.in
parentee45fcf5f5342d40b5dcd39429a4201c93a49b4c (diff)
downloadvyos-1x-43a7f4e8032e5285f3dd99785f1b41e3c2dd1ad0.tar.gz
vyos-1x-43a7f4e8032e5285f3dd99785f1b41e3c2dd1ad0.zip
lldp: T393: improve all completion helper
Diffstat (limited to 'interface-definitions/lldp.xml.in')
-rw-r--r--interface-definitions/lldp.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in
index 3a2899b57..8f6629d81 100644
--- a/interface-definitions/lldp.xml.in
+++ b/interface-definitions/lldp.xml.in
@@ -21,6 +21,7 @@
</valueHelp>
<completionHelp>
<script>${vyatta_sbindir}/vyatta-interfaces.pl --show all</script>
+ <list>all</list>
</completionHelp>
</properties>
<children>
@@ -73,7 +74,7 @@
</completionHelp>
<constraintErrorMessage>Datum should be WGS84, NAD83, or MLLW</constraintErrorMessage>
<constraint>
- <regex>(WGS84|NAD83|MLLW)$</regex>
+ <regex>^(WGS84|NAD83|MLLW)$</regex>
</constraint>
</properties>
</leafNode>