Format
This commit is contained in:
parent
e8cc636474
commit
3dffe5372a
1 changed files with 1 additions and 4 deletions
|
@ -4280,10 +4280,7 @@ sub nic_noip_update {
|
||||||
info("setting IP address to %s for %s", $ip, $hosts);
|
info("setting IP address to %s for %s", $ip, $hosts);
|
||||||
verbose("UPDATE:", "updating %s", $hosts);
|
verbose("UPDATE:", "updating %s", $hosts);
|
||||||
|
|
||||||
my $url = "https://$config{$h}{'server'}/nic/update?system=";
|
my $url = "https://$config{$h}{'server'}/nic/update?system=noip&hostname=$hosts&myip=";
|
||||||
$url .= 'noip';
|
|
||||||
$url .= "&hostname=$hosts";
|
|
||||||
$url .= "&myip=";
|
|
||||||
$url .= $ip if $ip;
|
$url .= $ip if $ip;
|
||||||
|
|
||||||
my $reply = geturl(
|
my $reply = geturl(
|
||||||
|
|
Loading…
Reference in a new issue