aboutsummaryrefslogtreecommitdiffstats
path: root/main/opennhrp/opennhrp-script-timeout.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-06 12:13:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-06 12:13:26 +0000
commit75ff374836b4debeac557416f3ad156d3bd38b35 (patch)
tree50ca5936c647886d708d6f748ce8acb267b76da7 /main/opennhrp/opennhrp-script-timeout.patch
parent32f0a3c67282dbd23e9d607208bb8725cb638047 (diff)
downloadaports-75ff374836b4debeac557416f3ad156d3bd38b35.tar.bz2
aports-75ff374836b4debeac557416f3ad156d3bd38b35.tar.xz
main/opennhrp: increase timeout value for scripts
helps when there are registration storms
Diffstat (limited to 'main/opennhrp/opennhrp-script-timeout.patch')
-rw-r--r--main/opennhrp/opennhrp-script-timeout.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/opennhrp/opennhrp-script-timeout.patch b/main/opennhrp/opennhrp-script-timeout.patch
new file mode 100644
index 0000000000..f28e01db2d
--- /dev/null
+++ b/main/opennhrp/opennhrp-script-timeout.patch
@@ -0,0 +1,13 @@
+diff --git a/nhrp/nhrp_peer.c b/nhrp/nhrp_peer.c
+index 4bcdd75..fb6c81c 100644
+--- a/nhrp/nhrp_peer.c
++++ b/nhrp/nhrp_peer.c
+@@ -21,7 +21,7 @@
+ #include "nhrp_peer.h"
+ #include "nhrp_interface.h"
+
+-#define NHRP_SCRIPT_TIMEOUT 20
++#define NHRP_SCRIPT_TIMEOUT 120
+ #define NHRP_PEER_FORMAT_LEN 128
+ #define NHRP_NEGATIVE_CACHE_TIME (3*60)
+ #define NHRP_EXPIRY_TIME (5*60)