variable declared twice.
This commit is contained in:
parent
70d7ff3f4e
commit
6106c41ef5
1 changed files with 1 additions and 1 deletions
2
ddclient
2
ddclient
|
|
@ -942,7 +942,7 @@ sub update_nics {
|
||||||
if (exists $iplist{$use}{$arg_ip}{$arg_fw}{$arg_if}{$arg_web}{$arg_cmd}) {
|
if (exists $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 = $iplist{$use}{$arg_ip}{$arg_fw}{$arg_if}{$arg_web}{$arg_cmd};
|
||||||
} else {
|
} else {
|
||||||
my $ip = get_ip($use, $h) // '';
|
$ip = get_ip($use, $h) // '';
|
||||||
if (!$ip) {
|
if (!$ip) {
|
||||||
warning("unable to determine IP address")
|
warning("unable to determine IP address")
|
||||||
if !$daemon || opt('verbose');
|
if !$daemon || opt('verbose');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue