Patch modified to apply on ddclient 3.7.3
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@85 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
03838725fc
commit
cb4b18e620
1 changed files with 23 additions and 7 deletions
|
@ -1,7 +1,23 @@
|
||||||
2252a2253,2254
|
#
|
||||||
> #my $url = "http://$config{$h}{'server'}/nic/update?system=";
|
# patch created with `svn diff -r83 . > patches/eurodns`
|
||||||
>
|
# on Tue Feb 19 15:57:27 CET 2008
|
||||||
2253a2256,2258
|
#
|
||||||
> if ($config{$h}{'server'} =~ /.*eurodyndns.*/i) { #hack for EuroDynDNS
|
# This patch is based on the original patch from patch #1668836
|
||||||
> $url = "http://$config{$h}{'server'}/update/?system=";
|
# It's currently not applied to subversion version of ddclient
|
||||||
> }
|
#
|
||||||
|
Index: ddclient
|
||||||
|
===================================================================
|
||||||
|
--- ddclient (revision 83)
|
||||||
|
+++ ddclient (working copy)
|
||||||
|
@@ -2303,6 +2303,11 @@
|
||||||
|
|
||||||
|
## Select the DynDNS system to update
|
||||||
|
my $url = "http://$config{$h}{'server'}/nic/update?system=";
|
||||||
|
+ # hack for EuroDynDNS
|
||||||
|
+ if ($config{$h}{'server'} =~ /.*eurodyndns.*/i) {
|
||||||
|
+ $url = "http://$config{$h}{'server'}/update/?system=";
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if ($config{$h}{'custom'}) {
|
||||||
|
warning("updating %s: 'custom' and 'static' may not be used together. ('static' ignored)", $hosts)
|
||||||
|
if $config{$h}{'static'};
|
||||||
|
|
Loading…
Reference in a new issue