summaryrefslogtreecommitdiffhomepage
path: root/src/router.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-07-14 17:56:38 +0200
committerSteven Barth <steven@midlink.org>2015-07-14 17:56:38 +0200
commit01bfec4c333d906ca4d2230c804dfe361779f42f (patch)
tree58021fdf40cf8d918b1b85b108eecbbf945e1c63 /src/router.h
parent10fc5665634151fbd8bfd6503db25a4652a0839a (diff)
Remove unsolicited unicast RAs, adjust intervals
Diffstat (limited to 'src/router.h')
-rw-r--r--src/router.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/router.h b/src/router.h
index 1e8649c..db8ab9d 100644
--- a/src/router.h
+++ b/src/router.h
@@ -30,10 +30,8 @@ struct icmpv6_opt {
(void*)(opt + opt->len) <= (void*)(end); opt += opt->len)
-#define MaxRtrAdvInterval 600
-#define MinRtrAdvInterval (MaxRtrAdvInterval / 3)
-#define MaxValidTime 7200
-#define MaxPreferredTime (3 * MaxRtrAdvInterval)
+#define MaxRtrAdvInterval 1800
+#define MaxValidTime 65535
#define ND_RA_FLAG_PROXY 0x4
#define ND_RA_PREF_HIGH (1 << 3)