committed by
Oliver Gorwits
parent
a97c48546c
commit
60e63ac9cc
@@ -242,8 +242,10 @@ sub qb_fdb_index {
|
||||
sub fw_mac {
|
||||
my $bridge = shift;
|
||||
|
||||
unless ($bridge->can('cisco_comm_indexing') && $bridge->cisco_comm_indexing()){
|
||||
my $qb = $bridge->qb_fw_mac();
|
||||
return $qb if (ref {} eq ref $qb and scalar keys %$qb);
|
||||
}
|
||||
|
||||
return $bridge->SUPER::fw_mac();
|
||||
}
|
||||
@@ -251,8 +253,10 @@ sub fw_mac {
|
||||
sub fw_port {
|
||||
my $bridge = shift;
|
||||
|
||||
unless ($bridge->can('cisco_comm_indexing') && $bridge->cisco_comm_indexing()){
|
||||
my $qb = $bridge->qb_fw_port();
|
||||
return $qb if (ref {} eq ref $qb and scalar keys %$qb);
|
||||
}
|
||||
|
||||
return $bridge->SUPER::fw_port();
|
||||
}
|
||||
@@ -260,8 +264,10 @@ sub fw_port {
|
||||
sub fw_status {
|
||||
my $bridge = shift;
|
||||
|
||||
unless ($bridge->can('cisco_comm_indexing') && $bridge->cisco_comm_indexing()){
|
||||
my $qb = $bridge->qb_fw_status();
|
||||
return $qb if (ref {} eq ref $qb and scalar keys %$qb);
|
||||
}
|
||||
|
||||
return $bridge->SUPER::fw_status();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user