gentoo-overlay/net-dns/ddclient/files/ddclient-noip-he-dot-net.patch

16 lines
500 B
Diff
Raw Normal View History

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 @@
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:18:57 +02:00
+ my $url = "http://$config{$h}{'server'}/nic/update?";
2011-05-12 12:11:55 +02:00
+ $url .= "hostname=";
+ $url .= "$hosts";
$url .= "&myip=";
$url .= $ip if $ip;