summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-02 21:54:59 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-02 21:54:59 +0200
commit96dce0f47805bb321881183da9a47b621fd54ec8 (patch)
treeeaefef717a045db51c9ccd3dfccbaf647bddcc08
parentbfcc86ea5cf64b895c875db5a7128c0779087dd0 (diff)
downloadvyos-1x-96dce0f47805bb321881183da9a47b621fd54ec8.tar.gz
vyos-1x-96dce0f47805bb321881183da9a47b621fd54ec8.zip
conntrack: T3535: add missing valueHelp/constraint for peer CLI node
-rw-r--r--interface-definitions/service_conntrack-sync.xml.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/interface-definitions/service_conntrack-sync.xml.in b/interface-definitions/service_conntrack-sync.xml.in
index 8d6b57183..8ce82d867 100644
--- a/interface-definitions/service_conntrack-sync.xml.in
+++ b/interface-definitions/service_conntrack-sync.xml.in
@@ -133,6 +133,13 @@
<leafNode name="peer">
<properties>
<help>IP address of the peer to send the UDP conntrack info too. This disable multicast.</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IP address to listen for incoming connections</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
</properties>
</leafNode>
</children>