projects
/
dell-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a1e7e5c
)
fix /dev/shm/mac2switch mac formatting
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 Jul 2018 09:32:20 +0000
(11:32 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 Jul 2018 09:32:20 +0000
(11:32 +0200)
snmp-topology.pl
patch
|
blob
|
history
diff --git
a/snmp-topology.pl
b/snmp-topology.pl
index
c6ce629
..
9973442
100755
(executable)
--- a/
snmp-topology.pl
+++ b/
snmp-topology.pl
@@
-53,7
+53,7
@@
foreach my $file ( @dumps ) {
open(my $fh, '>', '/dev/shm/mac2sw');
foreach my $mac ( keys %{ $stat->{_mac2sw} } ) {
- print $fh
$mac, " ", macfmt( $stat->{_mac2sw}->{$mac} )
, "\n";
+ print $fh
macfmt($mac), " ", $stat->{_mac2sw}->{$mac}
, "\n";
};
my $s = $stat->{_sw_mac_port_vlan};