libvirt/src/nwfilter
Nikolay Shirokovskiy 01e11ebcb6 nwfilter: fix adding std MAC and IP values to filter binding
Commit d1a7c08eb changed filter instantiation code to ignore MAC and IP
variables explicitly specified for filter binding. It just replaces
explicit values with values associated with the binding. Before the
commit virNWFilterCreateVarsFrom was used so that explicit value
take precedence. Let's bring old behavior back.

This is useful. For example if domain has two interfaces it makes
sense to list both mac adresses in MAC var of every interface
filterref. So that if guest make a bond of these interfaces
and start sending frames with one of the mac adresses from
both interfaces we can pass outgress traffic from both
interfaces too.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
2019-03-22 12:03:00 +03:00
..
Makefile.inc.am make: split nwfilter driver build rules into nwfilter/Makefile.inc.am 2018-03-05 17:09:08 +00:00
nwfilter_dhcpsnoop.c Use NULLSTR_EMPTY 2019-02-14 14:09:38 +01:00
nwfilter_dhcpsnoop.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilter_driver.c configure: change HAVE_FIREWALLD to WITH_FIREWALLD 2019-02-01 12:08:37 -05:00
nwfilter_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilter_ebiptables_driver.c util: pass layer into firewall query callback 2019-01-29 13:35:58 +00:00
nwfilter_ebiptables_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilter_gentech_driver.c nwfilter: fix adding std MAC and IP values to filter binding 2019-03-22 12:03:00 +03:00
nwfilter_gentech_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilter_learnipaddr.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
nwfilter_learnipaddr.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilter_tech_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00