]> xenbits.xensource.com Git - libvirt.git/commit
Fix launch of libvirtd when DHCP snooping support is not available.
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 15 Jun 2012 12:56:13 +0000 (13:56 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 15 Jun 2012 14:33:51 +0000 (15:33 +0100)
commitb9852862eaacfef318ee03a0827f5736aac8af0a
tree21901bcb03a5b9760c726d44ea68f54306ed928f
parent50312d4b911a3b1c67c1ae60e18ac261e6e438e9
Fix launch of libvirtd when DHCP snooping support is not available.

When libpcap is not available, the NWFilter driver provides a
no-op stub for the DHCP snooping initialization. This was
mistakenly returning '-1' instead of '0', so the entire driver
initialization failed
src/nwfilter/nwfilter_dhcpsnoop.c
src/nwfilter/nwfilter_gentech_driver.c
src/nwfilter/nwfilter_learnipaddr.c