diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-05-16 20:49:59 -0500 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-05-16 23:10:36 -0500 |
commit | 96d846d27ac818ee9a23bb7194bb58cfb7093387 (patch) | |
tree | 0f9922966a80f72fc055f7e4eb736502b51ae492 /interface-definitions/include/bgp/protocol-common-config.xml.i | |
parent | e02a722a3e95696d83abf7fe78893fbb67f40ad3 (diff) | |
download | vyos-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/include/bgp/protocol-common-config.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 527eaf991..2d36f7de6 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -940,8 +940,7 @@ <description>Interface name</description> </valueHelp> <constraint> - <validator name="ipv4-address"/> - <validator name="ipv6-address"/> + <validator name="ip-address"/> #include <include/constraint/interface-name.xml.i> </constraint> </properties> |