From 664bb2cd4f4cd1a9597cfb32962a582b0f56e39a Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Sun, 1 Nov 2009 11:48:08 -0800 Subject: Fix carrier method. --- lib/Vyatta/Interface.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Vyatta') diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index 8107eff..90880c7 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -230,7 +230,7 @@ sub carrier { my $val = <$carrier>; chomp $val; close $carrier; - return $carrier; + return $var; } sub hw_address { -- cgit v1.2.3