ubus: fix invalid ipv6-prefix json
[project/odhcpd.git] / src / router.h
index 1e8649c..bdfe52c 100644 (file)
@@ -30,11 +30,9 @@ 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 MinRtrAdvInterval      3
 
 #define ND_RA_FLAG_PROXY       0x4
-#define ND_RA_PREF_HIGH        (1 << 3)
+#define ND_RA_PREF_HIGH                (1 << 3)
 #define ND_RA_PREF_LOW         (3 << 3)