summaryrefslogtreecommitdiff
path: root/interface-definitions/dhcp-relay.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/dhcp-relay.xml.in')
-rw-r--r--interface-definitions/dhcp-relay.xml.in4
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>