diff --git a/svn/ddclient b/svn/ddclient index 8936ff8..93e97de 100755 --- a/svn/ddclient +++ b/svn/ddclient @@ -323,7 +323,7 @@ my %variables = ( 'cmd' => setv(T_PROG, 0, 0, 1, '', undef), 'cmd-skip' => setv(T_STRING,1, 0, 1, '', undef), - 'timeout' => setv(T_DELAY, 0, 0, 1, 0, interval('120s')), + 'timeout' => setv(T_DELAY, 0, 0, 1, interval('120s'), interval('120s')), 'retry' => setv(T_BOOL, 0, 0, 0, 0, undef), 'force' => setv(T_BOOL, 0, 0, 0, 0, undef), 'ssl' => setv(T_BOOL, 0, 0, 0, 0, undef), diff --git a/svn/patches/ubuntu/default-timeout.patch b/svn/patches/ubuntu/default-timeout.patch new file mode 100644 index 0000000..1f7197f --- /dev/null +++ b/svn/patches/ubuntu/default-timeout.patch @@ -0,0 +1,13 @@ +# patch original from ubuntu forum: +# https://bugs.launchpad.net/ubuntu/+source/ddclient/+bug/116066 +--- ddclient 2007-10-25 19:39:46.000000000 +0300 ++++ ddclient 2007-10-25 19:36:41.000000000 +0300 +@@ -328,7 +328,7 @@ + 'cmd' => setv(T_PROG, 0, 0, 1, '', undef), + 'cmd-skip' => setv(T_STRING,1, 0, 1, '', undef), + +- 'timeout' => setv(T_DELAY, 0, 0, 1, 0, interval('120s')), ++ 'timeout' => setv(T_DELAY, 0, 0, 1, interval('120s'), interval('120s')), + 'retry' => setv(T_BOOL, 0, 0, 0, 0, undef), + 'force' => setv(T_BOOL, 0, 0, 0, 0, undef), + 'ssl' => setv(T_BOOL, 0, 0, 0, 0, undef),