[libvirt] [PATCH] Fix launch of libvirtd when DHCP snooping support is not available.

Michal Privoznik mprivozn at redhat.com
Fri Jun 15 13:54:44 UTC 2012


On 15.06.2012 14:57, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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      |    5 ++++-
>  src/nwfilter/nwfilter_gentech_driver.c |    1 +
>  src/nwfilter/nwfilter_learnipaddr.c    |    1 +
>  3 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/src/nwfilter/nwfilter_dhcpsnoop.c b/src/nwfilter/nwfilter_dhcpsnoop.c

ACK

Michal




More information about the libvir-list mailing list