]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: Fix support for trusted DHCP servers
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 19 Apr 2012 14:21:43 +0000 (10:21 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Thu, 19 Apr 2012 14:21:43 +0000 (10:21 -0400)
commit7c26343bc38e9fb91dcb0911cb851592d03e0721
tree736503820e293543c935f9912bc852d197109401
parent71bc80b60e70084812deb646c8a12a964c2463ba
nwfilter: Fix support for trusted DHCP servers

Fix the support for trusted DHCP server in the ebtables code's
hard-coded function applying DHCP only filtering rules:
Rather than using a char * use the more flexible
virNWFilterVarValuePtr that contains the trusted DHCP server(s)
IP address. Process all entries.

Since all callers so far provided NULL as parameter, no changes
are necessary in any other code.
src/conf/nwfilter_conf.h
src/nwfilter/nwfilter_ebiptables_driver.c