diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-29 12:29:08 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-29 12:29:08 +0100 |
commit | d6974be8d96cae21dde6bfa40fe568db3d3ef04f (patch) | |
tree | f8ef550ce8f6b9eb575d554dc3bdb41bf1e0665d /interface-definitions | |
parent | 8f8629227c0631cf75d896af1e1413b330f82781 (diff) | |
download | vyos-1x-d6974be8d96cae21dde6bfa40fe568db3d3ef04f.tar.gz vyos-1x-d6974be8d96cae21dde6bfa40fe568db3d3ef04f.zip |
dhcp-relay: T3095: migrate service to get_config_dict()
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/dhcp-relay.xml.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/interface-definitions/dhcp-relay.xml.in b/interface-definitions/dhcp-relay.xml.in index b83402aa1..8c95239d9 100644 --- a/interface-definitions/dhcp-relay.xml.in +++ b/interface-definitions/dhcp-relay.xml.in @@ -35,6 +35,7 @@ </constraint> <constraintErrorMessage>hop-count must be a value between 1 and 255</constraintErrorMessage> </properties> + <defaultValue>10</defaultValue> </leafNode> <leafNode name="max-size"> <properties> @@ -72,9 +73,10 @@ <description>discard packet (default action if giaddr not set in packet)</description> </valueHelp> <constraint> - <regex>(append|replace|forward|discard)</regex> + <regex>^(append|replace|forward|discard)$</regex> </constraint> </properties> + <defaultValue>forward</defaultValue> </leafNode> </children> </node> |