clean up check_mac() interface (ml-cms)

This commit is contained in:
Oliver Gorwits
2018-04-18 19:23:43 +01:00
parent e0d75c3cba
commit 2caae8a642
7 changed files with 20 additions and 13 deletions

View File

@@ -281,7 +281,7 @@ sub walk_fwtable {
while (my ($idx, $mac) = each %$fw_mac) {
my $bp_id = $fw_port->{$idx};
next unless check_mac($device, $mac);
next unless check_mac($mac, $device);
unless (defined $bp_id) {
debug sprintf