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@81 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
cf90b72d7b
commit
0665e32378
2 changed files with 14 additions and 1 deletions
|
@ -323,7 +323,7 @@ my %variables = (
|
||||||
'cmd' => setv(T_PROG, 0, 0, 1, '', undef),
|
'cmd' => setv(T_PROG, 0, 0, 1, '', undef),
|
||||||
'cmd-skip' => setv(T_STRING,1, 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),
|
'retry' => setv(T_BOOL, 0, 0, 0, 0, undef),
|
||||||
'force' => 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),
|
'ssl' => setv(T_BOOL, 0, 0, 0, 0, undef),
|
||||||
|
|
13
svn/patches/ubuntu/default-timeout.patch
Normal file
13
svn/patches/ubuntu/default-timeout.patch
Normal file
|
@ -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),
|
Loading…
Reference in a new issue