mirror of
https://github.com/webmin/webmin.git
synced 2026-05-05 14:50:28 +01:00
Apparently some ethernet interfaces are named like p21p1
This commit is contained in:
@@ -226,7 +226,7 @@ if ($_[0] =~ /^(.*)\.(\d+)$/) {
|
||||
return "PPP" if ($_[0] =~ /^ppp/);
|
||||
return "SLIP" if ($_[0] =~ /^sl/);
|
||||
return "PLIP" if ($_[0] =~ /^plip/);
|
||||
return "Ethernet" if ($_[0] =~ /^eth|em/);
|
||||
return "Ethernet" if ($_[0] =~ /^eth|em|p\d+p\d+/);
|
||||
return "Wireless Ethernet" if ($_[0] =~ /^(wlan|ath)/);
|
||||
return "Arcnet" if ($_[0] =~ /^arc/);
|
||||
return "Token Ring" if ($_[0] =~ /^tr/);
|
||||
|
||||
Reference in New Issue
Block a user