libvirt/tests/networkxml2xmlin
Peter Krempa 4cf1c3fab1 conf: net: Correctly switch how to format address fields
When formatting the forward mode addresses or interfaces the switch was
done based on the type of the network rather than of the type of the
individual <interface>/<address> element. In case a user would specify
an incorrect network type ("passhtrough") with <address> elements,
libvirtd would crash as it would attempt to format an <interface>.

Use the type of the individual element to format the XML.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1132347
2014-08-21 15:55:07 +02:00
..
8021Qbh-net.xml
bandwidth-network.xml
dhcp6host-routed-network.xml
direct-net.xml
empty-allow-ipv6.xml
host-bridge-net.xml
hostdev-pf.xml
hostdev.xml
isolated-network.xml
nat-network-dns-forward-plain.xml
nat-network-dns-forwarders.xml
nat-network-dns-hosts.xml
nat-network-dns-srv-record-minimal.xml
nat-network-dns-srv-record.xml
nat-network-dns-srv-records.xml
nat-network-dns-txt-record.xml
nat-network-forward-nat-address.xml
nat-network.xml
netboot-network.xml
netboot-proxy-network.xml
openvswitch-net.xml
passthrough-address-crash.xml
passthrough-pf.xml
routed-network.xml
vepa-net.xml