From 6fb184641d5c3229a629a90782a37010ff8b4532 Mon Sep 17 00:00:00 2001 From: wimpunk Date: Mon, 29 Oct 2007 21:02:20 +0000 Subject: [PATCH] Added and applied default timeout patch from https://bugs.launchpad.net/ubuntu/+source/ddclient/+bug/116066 git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk/svn@81 3873ddee-7413-0410-b6c4-c2c57c1ab35a --- ddclient | 2 +- patches/ubuntu/default-timeout.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 patches/ubuntu/default-timeout.patch diff --git a/ddclient b/ddclient index 8936ff8..93e97de 100755 --- a/ddclient +++ b/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/patches/ubuntu/default-timeout.patch b/patches/ubuntu/default-timeout.patch new file mode 100644 index 0000000..1f7197f --- /dev/null +++ b/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),