diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-05-28 17:43:48 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-05-28 17:43:48 -0700 |
commit | 117041e7a7495dfdade0f4c94f38a5fcb1bda7b2 (patch) | |
tree | 9e4800b798f85986de0365a0c853b26ba0165fc6 /scripts/vyatta-show-interfaces.pl | |
parent | b1f7a5e6af6614935d608cd52bc7df7eb8e074b2 (diff) | |
parent | ce660cba1408ac05795b19bc5adaf605b470c34f (diff) | |
download | vyatta-op-117041e7a7495dfdade0f4c94f38a5fcb1bda7b2.tar.gz vyatta-op-117041e7a7495dfdade0f4c94f38a5fcb1bda7b2.zip |
Merge branch 'larkspur' of http://git.vyatta.com/vyatta-op into larkspur
Diffstat (limited to 'scripts/vyatta-show-interfaces.pl')
-rwxr-xr-x | scripts/vyatta-show-interfaces.pl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/vyatta-show-interfaces.pl b/scripts/vyatta-show-interfaces.pl index 1b662c8..6e071e2 100755 --- a/scripts/vyatta-show-interfaces.pl +++ b/scripts/vyatta-show-interfaces.pl @@ -57,10 +57,8 @@ my @tx_stat_vars = sub get_intf_description { my $name = shift; - my $intf = new Vyatta::Interface($name); - return "" unless $intf; + my $description = interface_description($name); - my $description = $intf->description(); return "" unless $description; return $description; } |