diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-10-10 12:08:30 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-10 12:08:55 -0500 |
commit | fb916cf9ab2daadc5daf949f75fa89346443a2d4 (patch) | |
tree | f6ab6e02203604679a95c2bd445ffe1c3eb208aa /scripts | |
parent | 25ce8951ee29d045278ce578fc9fa35588cf915e (diff) | |
download | vyatta-op-fb916cf9ab2daadc5daf949f75fa89346443a2d4.tar.gz vyatta-op-fb916cf9ab2daadc5daf949f75fa89346443a2d4.zip |
Bugfix 7543: remove trailing spaces from the show interfaces output
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-show-interfaces.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-show-interfaces.pl b/scripts/vyatta-show-interfaces.pl index e101b28..f999c3c 100755 --- a/scripts/vyatta-show-interfaces.pl +++ b/scripts/vyatta-show-interfaces.pl @@ -263,8 +263,8 @@ sub conv_descriptions { sub run_show_intf_brief { my @intfs = @_; - my $format = "%-12s %-33s %-4s %-28s\n"; - my $format2 = "%-12s %-33s\n"; + my $format = "%-12s %-33s %-4s %s\n"; + my $format2 = "%-12s %s\n"; print "Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down\n"; printf($format, "Interface","IP Address","S/L","Description"); printf($format, "---------","----------","---","-----------"); |