summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-06-23 19:13:57 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-06-23 19:13:57 -0500
commit3d9aa34a80aa669618627624e8b0426ef4cd63f8 (patch)
treea0cb852de4513868cda6354ab8b4a6c5869cc871
parent7b29258830a4c5c81c22f32611b2630d535a31e5 (diff)
downloadvyatta-op-3d9aa34a80aa669618627624e8b0426ef4cd63f8.tar.gz
vyatta-op-3d9aa34a80aa669618627624e8b0426ef4cd63f8.zip
make the 'u' for up lowercase so that it will draw the users attention to interfaces that are down.
-rwxr-xr-xscripts/vyatta-show-interfaces.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-interfaces.pl b/scripts/vyatta-show-interfaces.pl
index be243a1..8faaa5c 100755
--- a/scripts/vyatta-show-interfaces.pl
+++ b/scripts/vyatta-show-interfaces.pl
@@ -235,7 +235,7 @@ sub run_show_intf {
sub conv_brief_code {
my $state = pop(@_);
- $state = 'U' if ($state eq 'up');
+ $state = 'u' if ($state eq 'up');
$state = 'D' if ($state eq 'down');
$state = 'A' if ($state eq 'admin down');
return $state;