summaryrefslogtreecommitdiff
path: root/interface-definitions/high-availability.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-24 07:54:56 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-24 07:54:59 +0100
commit8c957ca3d63a0d827ee4c560f11a4f6436ba5cc8 (patch)
tree7274ddb1a645e7d1a61ac4ce9f22a2f4ebe04e2f /interface-definitions/high-availability.xml.in
parent67fae93f9c0a61cf1dbf1349f763e65bb9c2acf3 (diff)
downloadvyos-1x-8c957ca3d63a0d827ee4c560f11a4f6436ba5cc8.tar.gz
vyos-1x-8c957ca3d63a0d827ee4c560f11a4f6436ba5cc8.zip
vrrp: T4109: improve "address" CLI node help strings
CLI expects ipv4net/ipv6net but the help strings only suggested it should be ipv4/ipv6. This has been corrected.
Diffstat (limited to 'interface-definitions/high-availability.xml.in')
-rw-r--r--interface-definitions/high-availability.xml.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/interface-definitions/high-availability.xml.in b/interface-definitions/high-availability.xml.in
index 37cb90a8d..0906356a3 100644
--- a/interface-definitions/high-availability.xml.in
+++ b/interface-definitions/high-availability.xml.in
@@ -230,16 +230,15 @@
<properties>
<help>Virtual IP address</help>
<valueHelp>
- <format>ipv4</format>
- <description>IPv4 virtual address</description>
+ <format>ipv4net</format>
+ <description>IPv4 address and prefix length</description>
</valueHelp>
<valueHelp>
- <format>ipv6</format>
- <description>IPv6 virtual address</description>
+ <format>ipv6net</format>
+ <description>IPv6 address and prefix length</description>
</valueHelp>
<constraint>
- <validator name="ipv4-host"/>
- <validator name="ipv6-host"/>
+ <validator name="ip-host"/>
</constraint>
</properties>
<children>