From 14648df7aca57da48999c7c6ae601d4edab0a0df Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 10 Jan 2013 19:49:35 +0100 Subject: regex should be match the start of the line --- net_if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net_if b/net_if index 09a5b91..2d4af93 100755 --- a/net_if +++ b/net_if @@ -39,7 +39,7 @@ sub get_if_status { } while () { - if ($_ =~ m/$if: flags=([0-9]+)