From 6106c41ef596bb2edfcfd171c29bbb554db44ae6 Mon Sep 17 00:00:00 2001 From: David Kerr Date: Sun, 28 Jun 2020 15:39:06 -0400 Subject: [PATCH] variable declared twice. --- ddclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient b/ddclient index 50ad5ce..82311fa 100755 --- a/ddclient +++ b/ddclient @@ -942,7 +942,7 @@ sub update_nics { 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}; } else { - my $ip = get_ip($use, $h) // ''; + $ip = get_ip($use, $h) // ''; if (!$ip) { warning("unable to determine IP address") if !$daemon || opt('verbose');