diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-17 15:46:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 15:46:13 +0200 |
commit | 0c91c356183bb33dea0b24c9ccd77b55c15e7ea0 (patch) | |
tree | 29c396833fb8f4a955651b61dce2ff09d13a5566 /interface-definitions/policy.xml.in | |
parent | d9c495144d1bcd22e5450fdaa268f34e0c70e636 (diff) | |
parent | b6e780e05893c92e6bc36bdc452c31cf94673719 (diff) | |
download | vyos-1x-0c91c356183bb33dea0b24c9ccd77b55c15e7ea0.tar.gz vyos-1x-0c91c356183bb33dea0b24c9ccd77b55c15e7ea0.zip |
Merge pull request #2008 from indrajitr/misc-conf-mode-fixes
T5226: Standardize hostname and IP address validators and constraints
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r-- | interface-definitions/policy.xml.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 02828c4f6..aa39950c2 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -966,8 +966,7 @@ <description>Peer IPv6 address</description> </valueHelp> <constraint> - <validator name="ipv4-address"/> - <validator name="ipv6-address"/> + <validator name="ip-address"/> </constraint> </properties> </leafNode> @@ -1533,8 +1532,7 @@ <description>IPv6 address</description> </valueHelp> <constraint> - <validator name="ipv4-address"/> - <validator name="ipv6-address"/> + <validator name="ip-address"/> </constraint> </properties> </leafNode> |