]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: also purge ip(6)tables rules before detecting IP address
authorStefan Berger <stefanb@us.ibm.com>
Wed, 17 Nov 2010 02:18:21 +0000 (21:18 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 17 Nov 2010 02:18:21 +0000 (21:18 -0500)
commitd4897acff85b6c5e06f084cacffd4a5faf5a43e0
tree4392a1278c340baf82e1b7f7f3562f5181cf6fd2
parent7b7cb1ecc989db87f3ede16b9aefc0dd3fbd8301
nwfilter: also purge ip(6)tables rules before detecting IP address

Rather than only cleaning any remaining ebtables rules, also clean those applied to iptables and ip6tables when detecting the IP address of an interface. Previous applied iptables rules may hinder DHCP packets.
src/nwfilter/nwfilter_ebiptables_driver.c