projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: use RELAYD_MAX_ADDRS as address array size
[project/odhcpd.git]
/
src
/
router.h
diff --git
a/src/router.h
b/src/router.h
index
1e8649c
..
5b5f4d7
100644
(file)
--- a/
src/router.h
+++ b/
src/router.h
@@
-30,10
+30,8
@@
struct icmpv6_opt {
(void*)(opt + opt->len) <= (void*)(end); opt += opt->len)
(void*)(opt + opt->len) <= (void*)(end); opt += opt->len)
-#define MaxRtrAdvInterval 600
-#define MinRtrAdvInterval (MaxRtrAdvInterval / 3)
-#define MaxValidTime 7200
-#define MaxPreferredTime (3 * MaxRtrAdvInterval)
+#define MaxValidTime 65535
+#define MaxRtrAdvInterval 1800
#define ND_RA_FLAG_PROXY 0x4
#define ND_RA_PREF_HIGH (1 << 3)
#define ND_RA_FLAG_PROXY 0x4
#define ND_RA_PREF_HIGH (1 << 3)