X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Frouter.h;h=bdfe52c43789e9203e4115a8ccac33daa5526db9;hp=1e8649cfc114cba59365e6283f5cbec604e7da4b;hb=adc8f6269d82f526e225fd8d4b78388fc2da0659;hpb=58128dfdc336658477c248243af8c74a17d6e468 diff --git a/src/router.h b/src/router.h index 1e8649c..bdfe52c 100644 --- a/src/router.h +++ b/src/router.h @@ -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)