summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
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 ce909f0..513f686 100755
--- a/lib/Vyatta/Interface.pm
+++ b/lib/Vyatta/Interface.pm
@@ -228,7 +228,7 @@ sub carrier {
or return;
my $val = <$carrier>;
- $val = 0 if ! defined $val # proc entry not readable on down interface
+ $val = 0 if ! defined $val; # proc entry not readable on down interface
chomp $val;
close $carrier;
return $val;