From fb916cf9ab2daadc5daf949f75fa89346443a2d4 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Mon, 10 Oct 2011 12:08:30 -0500 Subject: Bugfix 7543: remove trailing spaces from the show interfaces output --- scripts/vyatta-show-interfaces.pl | 4 ++-- 1 file 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, "---------","----------","---","-----------"); -- cgit v1.2.3