PBP always return via an explicit return

This commit is contained in:
Eric Miller
2008-07-09 01:37:19 +00:00
parent 84bc3f5269
commit a70a895a29
15 changed files with 22 additions and 19 deletions

View File

@@ -108,7 +108,7 @@ sub vendor {
return 'cisco';
}
sub cisco_comm_indexing { 1; }
sub cisco_comm_indexing { return 1; }
# Newer versions use the ETHERLIKE-MIB to report operational duplex.
@@ -188,7 +188,7 @@ sub set_i_duplex_admin {
return $c6500->set_p_duplex($duplexes{$duplex}, $iid);
}
else {
$c6500->SUPER::set_i_duplex_admin;
return $c6500->SUPER::set_i_duplex_admin;
}
}