]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
Fix SOL_MAX_RT default value to match RFC 3315
authorSteven Barth <steven@midlink.org>
Mon, 20 Apr 2015 09:16:21 +0000 (11:16 +0200)
committerSteven Barth <steven@midlink.org>
Mon, 20 Apr 2015 09:16:21 +0000 (11:16 +0200)
Signed-off-by: Steven Barth <steven@midlink.org>
src/odhcp6c.c
src/odhcp6c.h

index b62b2222b8caad231f5aeae5c4596f5bbdb26742..4605792c6a97eb93259012618d14e8cbc4dd101e 100644 (file)
@@ -437,7 +437,7 @@ static int usage(void)
        "       -a              Don't send Accept Reconfigure option\n"
        "       -f              Don't send Client FQDN option\n"
        "       -k              Don't send a RELEASE when stopping\n"
-       "       -t <seconds>    Maximum timeout for DHCPv6-SOLICIT (3600)\n"
+       "       -t <seconds>    Maximum timeout for DHCPv6-SOLICIT (120)\n"
        "       -m <seconds>    Minimum time between accepting updates (30)\n"
        "\nInvocation options:\n"
        "       -p <pidfile>    Set pidfile (/var/run/odhcp6c.pid)\n"
index fff93608bfe193199217ba22c3b258acc2c141aa..e23e02e856a6ac2815d9dc77d0f0bd6796a7b901 100644 (file)
@@ -24,7 +24,7 @@
 #define ND_OPT_RECURSIVE_DNS 25
 #define ND_OPT_DNSSL 31
 
-#define DHCPV6_SOL_MAX_RT 3600
+#define DHCPV6_SOL_MAX_RT 120
 #define DHCPV6_REQ_MAX_RT 30
 #define DHCPV6_CNF_MAX_RT 4
 #define DHCPV6_REN_MAX_RT 600