From: Steven Barth Date: Mon, 20 Apr 2015 09:16:21 +0000 (+0200) Subject: Fix SOL_MAX_RT default value to match RFC 3315 X-Git-Tag: debian/1.1+git20160131-1~17 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=commitdiff_plain;h=9ab4436ebed3a86f22bcc5831671d3d94c9f8155 Fix SOL_MAX_RT default value to match RFC 3315 Signed-off-by: Steven Barth --- diff --git a/src/odhcp6c.c b/src/odhcp6c.c index b62b222..4605792 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -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 Maximum timeout for DHCPv6-SOLICIT (3600)\n" + " -t Maximum timeout for DHCPv6-SOLICIT (120)\n" " -m Minimum time between accepting updates (30)\n" "\nInvocation options:\n" " -p Set pidfile (/var/run/odhcp6c.pid)\n" diff --git a/src/odhcp6c.h b/src/odhcp6c.h index fff9360..e23e02e 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -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