summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-10-10 12:08:30 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-10 12:08:30 -0500
commit38e73b9507775e03dc625af39dc6cfe4f5c5934b (patch)
treee2b72cc14965c526396c11ce53c66be6a0ee4811
parent36e8d2aba0d339b7e091b7c656b65ea4dc8100c0 (diff)
downloadvyatta-op-38e73b9507775e03dc625af39dc6cfe4f5c5934b.tar.gz
vyatta-op-38e73b9507775e03dc625af39dc6cfe4f5c5934b.zip
Bugfix 7543: remove trailing spaces from the show interfaces output
-rwxr-xr-xscripts/vyatta-show-interfaces.pl4
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, "---------","----------","---","-----------");