summaryrefslogtreecommitdiffstats
path: root/main/opennhrp/opennhrp-script-timeout.patch
diff options
context:
space:
mode:
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 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)