From 9ab4436ebed3a86f22bcc5831671d3d94c9f8155 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 20 Apr 2015 11:16:21 +0200 Subject: [PATCH] Fix SOL_MAX_RT default value to match RFC 3315 Signed-off-by: Steven Barth --- src/odhcp6c.c | 2 +- src/odhcp6c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2