]> git.proxmox.com Git - pve-firewall.git/commitdiff
use correct mac for veth containers
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 10 Mar 2014 09:15:09 +0000 (10:15 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 10 Mar 2014 09:15:09 +0000 (10:15 +0100)
src/PVE/Firewall.pm

index 760a20857be8d546b0d0c06e309b463c7c7345dd..cc8a132bebc4b89322378ebc632475a1e36f1f17 100644 (file)
@@ -1722,7 +1722,7 @@ sub compile {
                
                generate_bridge_chains($ruleset, $hostfw_conf, $bridge, $routing_table);
 
-               my $macaddr = $d->{host_mac};
+               my $macaddr = $d->{mac};
                my $iface = $d->{host_ifname};
                generate_tap_rules_direction($ruleset, $groups_conf, $iface, $netid, $macaddr, $vmfw_conf, $bridge, 'IN');
                generate_tap_rules_direction($ruleset, $groups_conf, $iface, $netid, $macaddr, $vmfw_conf, $bridge, 'OUT');