mirror of
https://github.com/webmin/webmin.git
synced 2025-08-17 19:06:28 +00:00
Actually, the inet6 addr: format is only used by the ifconfig command
This commit is contained in:
@ -103,8 +103,7 @@ elsif (&has_command("ip")) {
|
||||
}
|
||||
|
||||
my (@address6, @netmask6, @scope6);
|
||||
while($l =~ s/inet6\s+(\S+)\/(\d+)\s+scope\s+(\S+)//i ||
|
||||
$l =~ s/inet6\s+addr:\s+(\S+)\/(\d+)\s+Scope:(\S+)//i) {
|
||||
while($l =~ s/inet6\s+(\S+)\/(\d+)\s+scope\s+(\S+)//i) {
|
||||
local ($address6, $netmask6, $scope6) = ($1, $2, $3);
|
||||
push(@address6, $address6);
|
||||
push(@netmask6, $netmask6);
|
||||
|
Reference in New Issue
Block a user