diff --git a/net/linux-lib.pl b/net/linux-lib.pl index 6ba5761ac..b3900d842 100755 --- a/net/linux-lib.pl +++ b/net/linux-lib.pl @@ -38,7 +38,7 @@ if (&has_command("ip")) { $ifc{'fullname'} = $1; $ifc{'name'} = $ifc{'fullname'} } - elsif ($l =~ /^\d:\s+([^ \t\r\n\@]+\d+)@([^ \t\r\n\@]+\d+):/) { + elsif ($l =~ /^\d+:\s+([^ \t\r\n\@]+\d+)@([^ \t\r\n\@]+\d+):/) { # Line like : # 3: eth0@if0: mtu 1500 qdisc noqueue state UP group default qlen 1000 $ifc{'fullname'} = $1;