projects
/
dell-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64f9ff8
)
comment out debug
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Jul 2018 16:56:48 +0000
(18:56 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Jul 2018 16:56:48 +0000
(18:56 +0200)
vlan-ports.pl
patch
|
blob
|
history
diff --git
a/vlan-ports.pl
b/vlan-ports.pl
index
45d8282
..
a3bf57d
100755
(executable)
--- a/
vlan-ports.pl
+++ b/
vlan-ports.pl
@@
-48,7
+48,7
@@
warn dump($stat),$/;
foreach my $sw ( sort keys %$stat ) {
my @ports = sort { $a <=> $b } keys %{ $stat->{$sw}->{port_vlan} };
- warn "# ports = ",dump( \@ports );
+
#
warn "# ports = ",dump( \@ports );
printf( "%-11s %-5s %s\n", ('-' x 11), ('-' x 5), join(' ', map { sprintf("%-2s", $_) } ( 1 .. $ports[-1] )) );
foreach my $vlan ( sort { $a <=> $b } keys %{ $stat->{$sw}->{vlan_port} } ) {
my @p = ( '.' ) x ( $ports[-1] + 1 );