mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +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>
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user