From 75ff374836b4debeac557416f3ad156d3bd38b35 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 6 May 2010 12:13:26 +0000 Subject: main/opennhrp: increase timeout value for scripts helps when there are registration storms --- main/opennhrp/opennhrp-script-timeout.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main/opennhrp/opennhrp-script-timeout.patch (limited to 'main/opennhrp/opennhrp-script-timeout.patch') diff --git a/main/opennhrp/opennhrp-script-timeout.patch b/main/opennhrp/opennhrp-script-timeout.patch new file mode 100644 index 000000000..f28e01db2 --- /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) -- cgit v1.2.3