summaryrefslogtreecommitdiff
path: root/interface-definitions/flow-accounting-conf.xml.in
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-05-16 20:49:59 -0500
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-05-16 23:10:36 -0500
commit96d846d27ac818ee9a23bb7194bb58cfb7093387 (patch)
tree0f9922966a80f72fc055f7e4eb736502b51ae492 /interface-definitions/flow-accounting-conf.xml.in
parente02a722a3e95696d83abf7fe78893fbb67f40ad3 (diff)
downloadvyos-1x-96d846d27ac818ee9a23bb7194bb58cfb7093387.tar.gz
vyos-1x-96d846d27ac818ee9a23bb7194bb58cfb7093387.zip
T5226: Combine ipv4-address and ipv6-address validators
Use a single ip-address validator to combine and replace ipv4-address and ipv6-address validators.
Diffstat (limited to 'interface-definitions/flow-accounting-conf.xml.in')
-rw-r--r--interface-definitions/flow-accounting-conf.xml.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-definitions/flow-accounting-conf.xml.in b/interface-definitions/flow-accounting-conf.xml.in
index 878566b3f..40a9bb423 100644
--- a/interface-definitions/flow-accounting-conf.xml.in
+++ b/interface-definitions/flow-accounting-conf.xml.in
@@ -230,8 +230,7 @@
<description>IPv6 server to export NetFlow</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <validator name="ip-address"/>
</constraint>
</properties>
<children>
@@ -408,8 +407,7 @@
<description>IPv6 server to export sFlow</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <validator name="ip-address"/>
</constraint>
</properties>
<children>