提交 8e3c1f2e 编写于 作者: G Gene Czarcinski 提交者: Laine Stump

Trivial fix: in dhcp-host the name is optional

Although in IPv4 one must pick either mac or name, either
can be omitted.  Similarly, for IPv6, the name
can be optionally omitted.
Signed-off-by: NGene Czarcinski <gene@czarc.net>
Signed-off-by: NLaine Stump <laine@laine.org>
上级 c720ddd6
......@@ -278,10 +278,15 @@
</zeroOrMore>
<zeroOrMore>
<element name="host">
<optional>
<attribute name="mac"><ref name="uniMacAddr"/></attribute>
</optional>
<attribute name="name"><text/></attribute>
<choice>
<group>
<attribute name="mac"><ref name="uniMacAddr"/></attribute>
<optional>
<attribute name="name"><text/></attribute>
</optional>
</group>
<attribute name="name"><text/></attribute>
</choice>
<attribute name="ip"><ref name="ipAddr"/></attribute>
</element>
</zeroOrMore>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册