mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Fix to match a token multiple times
https://sourceforge.net/p/webadmin/bugs/5535/
This commit is contained in:
@ -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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
|
||||
$ifc{'fullname'} = $1;
|
||||
|
Reference in New Issue
Block a user