summaryrefslogtreecommitdiff
path: root/interface-definitions/system-sflow.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/system-sflow.xml.in')
-rw-r--r--interface-definitions/system-sflow.xml.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-definitions/system-sflow.xml.in b/interface-definitions/system-sflow.xml.in
index 9c748c24a..c5152abe9 100644
--- a/interface-definitions/system-sflow.xml.in
+++ b/interface-definitions/system-sflow.xml.in
@@ -25,8 +25,7 @@
<description>sFlow IPv6 agent address</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <validator name="ip-address"/>
<validator name="ipv6-link-local"/>
</constraint>
</properties>
@@ -97,8 +96,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>