]> xenbits.xensource.com Git - libvirt.git/commit
bridge: Fix static-only DHCP configuration
authorJiri Denemark <jdenemar@redhat.com>
Thu, 9 Sep 2010 14:00:08 +0000 (16:00 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 10 Sep 2010 07:34:18 +0000 (09:34 +0200)
commitdf990b445bd85bbd59296acbcaeb9d81543466c8
tree32a16bfed47d289fb8ed98d7dc6fff0bc9e6b750
parente70880c51bb7fd4e8ce2e50eaff08b0745a74527
bridge: Fix static-only DHCP configuration

For static-only DHCP, i.e. with no <range> but at least one <host>
element within <dhcp> element, we have to add "--dhcp-range IP,static"
option to dnsmasq to actually enable the service. Without this option,
dnsmasq will not respond to DHCP requests.
src/network/bridge_driver.c