diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-29 12:30:35 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-29 12:30:35 +0100 |
commit | cacbc208d0802806de2c671e41607d605138aaa5 (patch) | |
tree | b7e479ade5f090b69830e19c24b575ed7ea1fed3 /interface-definitions | |
parent | b474b60a8c4240858d8abdcdbeb555b85452a517 (diff) | |
parent | d6974be8d96cae21dde6bfa40fe568db3d3ef04f (diff) | |
download | vyos-1x-cacbc208d0802806de2c671e41607d605138aaa5.tar.gz vyos-1x-cacbc208d0802806de2c671e41607d605138aaa5.zip |
Merge branch 'dhcp-relay' of github.com:c-po/vyos-1x into current
* 'dhcp-relay' of github.com:c-po/vyos-1x:
dhcp-relay: T3095: migrate service to get_config_dict()
smoketest: dhcp-relay: T3095: initial tests
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> |