update_nics: Consistently use --opt instead of opt

This commit is contained in:
Richard Hansen 2024-06-14 18:58:54 -04:00
parent 5d68b11d78
commit e891f53345

View file

@ -1399,8 +1399,8 @@ sub update_nics {
# And if it is valid, remember it... # And if it is valid, remember it...
$iplist{$use}{$arg_ip}{$arg_fw}{$arg_if}{$arg_web}{$arg_cmd} = $ip; $iplist{$use}{$arg_ip}{$arg_fw}{$arg_if}{$arg_web}{$arg_cmd} = $ip;
} else { } else {
warning("%s: unable to determine IP address with strategy use=%s", $h, $use) warning("%s: unable to determine IP address with strategy --use=%s",
if !$daemon || opt('verbose'); $h, $use) if !$daemon || opt('verbose');
} }
} }
} }