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:56:22 +0200
commit7c1f2dab543f0f8960c4f86b53338c76ecf4d524 (patch)
tree98ce623437b8eec4f65e33a244c8c252bfbf2ed2
parent21527ef4551613fe9b7eed9e4b2ce33ad46fe540 (diff)
downloadvyos-1x-7c1f2dab543f0f8960c4f86b53338c76ecf4d524.tar.gz
vyos-1x-7c1f2dab543f0f8960c4f86b53338c76ecf4d524.zip
conntrack: T3535: add missing valueHelp/constraint for peer CLI node
(cherry picked from commit 96dce0f47805bb321881183da9a47b621fd54ec8)
-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>