15 lines
499 B
Diff
15 lines
499 B
Diff
--- ddclient.orig 2009-01-27 19:14:02.000000000 +0000
|
|
+++ ddclient 2011-05-12 09:48:01.000000000 +0000
|
|
@@ -2460,9 +2460,9 @@
|
|
info("setting IP address to %s for %s", $ip, $hosts);
|
|
verbose("UPDATE:","updating %s", $hosts);
|
|
|
|
- my $url = "http://$config{$h}{'server'}/nic/update?system=";
|
|
- $url .= 'noip';
|
|
- $url .= "&hostname=$hosts";
|
|
+ my $url = "http://$config{$h}{'server'}/nic/update?"
|
|
+ $url .= "hostname=";
|
|
+ $url .= "$hosts";
|
|
$url .= "&myip=";
|
|
$url .= $ip if $ip;
|
|
|