diff options
Diffstat (limited to 'lib/Vyatta/Interface.pm')
-rwxr-xr-x | lib/Vyatta/Interface.pm | 2 |
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; |