diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-08-05 11:40:34 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-08-05 11:40:34 +0200 |
commit | d4d47d8a39c7f6dc5eb5722fe7782262b1544321 (patch) | |
tree | 7b95cdfef80794e77018738d03e19d701a44243a /interface-definitions | |
parent | df941fdc799d8b5eba6a1780aef383bd71c9e0b7 (diff) | |
download | vyos-1x-d4d47d8a39c7f6dc5eb5722fe7782262b1544321.tar.gz vyos-1x-d4d47d8a39c7f6dc5eb5722fe7782262b1544321.zip |
[bridge] T1156: add XML address constraints
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-bridge.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-bridge.xml b/interface-definitions/interfaces-bridge.xml index 5cb8c7c40..4186a94a7 100644 --- a/interface-definitions/interfaces-bridge.xml +++ b/interface-definitions/interfaces-bridge.xml @@ -35,6 +35,10 @@ <format>dhcpv6</format> <description>Dynamic Host Configuration Protocol for IPv6</description> </valueHelp> + <constraint> + <validator name="cidr"/> + <regex>(dhcp|dhcpv6)</regex> + </constraint> <multi/> </properties> </leafNode> |