-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path0002-patches-uradvd-change-ip-lifetimes-to-150-300-second.patch
46 lines (43 loc) · 1.62 KB
/
0002-patches-uradvd-change-ip-lifetimes-to-150-300-second.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From 86d188616d7a03e6e7ce8312a3968d7c54687acb Mon Sep 17 00:00:00 2001
From: lemoer <git@irrelefant.net>
Date: Thu, 31 May 2018 23:52:48 +0200
Subject: [PATCH] patches: uradvd: change ip lifetimes to 150/300 seconds
---
...vd-change-ip-lifetimes-to-150-300-seconds.patch | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 patches/packages/gluon/0001-uradvd-change-ip-lifetimes-to-150-300-seconds.patch
diff --git a/patches/packages/gluon/0001-uradvd-change-ip-lifetimes-to-150-300-seconds.patch b/patches/packages/gluon/0001-uradvd-change-ip-lifetimes-to-150-300-seconds.patch
new file mode 100644
index 00000000..b6bf1cdb
--- /dev/null
+++ b/patches/packages/gluon/0001-uradvd-change-ip-lifetimes-to-150-300-seconds.patch
@@ -0,0 +1,27 @@
+From: lemoer <git@irrelefant.net>
+Date: Thu, 31 May 2018 23:51:30 +0200
+Subject: uradvd: change ip lifetimes to 150/300 seconds
+
+diff --git a/net/uradvd/src/uradvd.c b/net/uradvd/src/uradvd.c
+index f6549f249518714e3d9210708b54cc23d85b26df..8ca6cfa8f78b85f05cf64943bd1d28dbfc0c5e82 100644
+--- a/net/uradvd/src/uradvd.c
++++ b/net/uradvd/src/uradvd.c
+@@ -61,14 +61,14 @@
+ #define MAX_RDNSS 3
+
+ /* These are in seconds */
+-#define AdvValidLifetime 86400u
+-#define AdvPreferredLifetime 14400u
++#define AdvValidLifetime 300u
++#define AdvPreferredLifetime 150u
+ #define AdvDefaultLifetime 0u
+ #define AdvCurHopLimit 64u
+ #define AdvRDNSSLifetime 1200u
+
+-#define MinRtrAdvInterval 200u
+-#define MaxRtrAdvInterval 600u
++#define MinRtrAdvInterval 75u
++#define MaxRtrAdvInterval 150u
+
+ /* And these in milliseconds */
+ #define MAX_RA_DELAY_TIME 500u
--
2.11.0