summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-11-01 11:48:08 -0800
committerStig Thormodsrud <stig@vyatta.com>2009-11-01 11:48:08 -0800
commit664bb2cd4f4cd1a9597cfb32962a582b0f56e39a (patch)
treea002bf661ad31b31c067085b81c63a0abd22e402 /lib/Vyatta
parentb6d02c359796ac0c47a4214a2fee827ad5d61d47 (diff)
downloadvyatta-cfg-664bb2cd4f4cd1a9597cfb32962a582b0f56e39a.tar.gz
vyatta-cfg-664bb2cd4f4cd1a9597cfb32962a582b0f56e39a.zip
Fix carrier method.
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-xlib/Vyatta/Interface.pm2
1 files changed, 1 insertions, 1 deletions
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 {