From 34d2d13c3763ae8c603195dd97d78da5f8e9a5ce Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Sun, 1 Nov 2009 12:44:17 -0800 Subject: Fix spelling error in carrier method. --- lib/Vyatta/Interface.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index 90880c7..924058a 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 $var; + return $val; } sub hw_address { -- cgit v1.2.3