2011-05-12 12:11:55 +02:00
|
|
|
--- ddclient.orig 2009-01-27 19:14:02.000000000 +0000
|
|
|
|
+++ ddclient 2011-05-12 09:48:01.000000000 +0000
|
|
|
|
@@ -2460,9 +2460,9 @@
|
2011-05-12 01:42:03 +02:00
|
|
|
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";
|
2011-05-12 12:11:55 +02:00
|
|
|
+ my $url = "http://$config{$h}{'server'}/nic/update?"
|
|
|
|
+ $url .= "hostname=";
|
|
|
|
+ $url .= "$hosts";
|
2011-05-12 01:42:03 +02:00
|
|
|
$url .= "&myip=";
|
|
|
|
$url .= $ip if $ip;
|
|
|
|
|