]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Push virNWFilterRuleInstPtr out of (eb|ip)tablesCreateRuleInstance
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 25 Mar 2014 10:32:55 +0000 (10:32 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 25 Apr 2014 14:44:09 +0000 (15:44 +0100)
commit4dd7eaa36f9ecb8ba72835dc7d07919c553542ca
tree96f8f153494c5e7b11e956600fb90a8743251b3e
parent23b1d0c07d3cc16a0cb9a056bd3db6c746754301
Push virNWFilterRuleInstPtr out of (eb|ip)tablesCreateRuleInstance

Later refactoring will change use of the virNWFilterRuleInstPtr struct.
Prepare for this by pushing use of the virNWFilterRuleInstPtr parameter
out of the ebtablesCreateRuleInstance and iptablesCreateRuleInstance
methods. Instead they simply string(s) with the constructed rule data.
The ebiptablesCreateRuleInstance method will make use of the
virNWFilterRuleInstPtr struct instead.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/nwfilter/nwfilter_ebiptables_driver.c