mirror of
https://github.com/webmin/webmin.git
synced 2025-08-17 19:06:28 +00:00
What if both ip and ifconfig commands exist
This commit is contained in:
@ -315,8 +315,7 @@ if ($a->{'virtual'} eq '' && &has_command("ifconfig")) {
|
||||
&error("Failed to add IPv6 address : $out") if ($?);
|
||||
}
|
||||
}
|
||||
|
||||
if ($a->{'virtual'} eq '' && &has_command("ip")) {
|
||||
elsif ($a->{'virtual'} eq '' && &has_command("ip")) {
|
||||
# Remove old IPv6 addresses
|
||||
if ($old) {
|
||||
for(my $i=0; $i<@{$old->{'address6'}}; $i++) {
|
||||
|
Reference in New Issue
Block a user