mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
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: Gene Czarcinski <gene@czarc.net> Signed-off-by: Laine Stump <laine@laine.org>
This commit is contained in:
parent
c720ddd6ac
commit
8e3c1f2ebb
@ -278,10 +278,15 @@
|
|||||||
</zeroOrMore>
|
</zeroOrMore>
|
||||||
<zeroOrMore>
|
<zeroOrMore>
|
||||||
<element name="host">
|
<element name="host">
|
||||||
<optional>
|
<choice>
|
||||||
<attribute name="mac"><ref name="uniMacAddr"/></attribute>
|
<group>
|
||||||
</optional>
|
<attribute name="mac"><ref name="uniMacAddr"/></attribute>
|
||||||
<attribute name="name"><text/></attribute>
|
<optional>
|
||||||
|
<attribute name="name"><text/></attribute>
|
||||||
|
</optional>
|
||||||
|
</group>
|
||||||
|
<attribute name="name"><text/></attribute>
|
||||||
|
</choice>
|
||||||
<attribute name="ip"><ref name="ipAddr"/></attribute>
|
<attribute name="ip"><ref name="ipAddr"/></attribute>
|
||||||
</element>
|
</element>
|
||||||
</zeroOrMore>
|
</zeroOrMore>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user