diff options
author | Steven Barth <steven@midlink.org> | 2015-04-20 11:16:21 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-04-20 11:16:21 +0200 |
commit | 9ab4436ebed3a86f22bcc5831671d3d94c9f8155 (patch) | |
tree | 6adb1543a226f1ad533bfb7d14e6d406d98e99a0 /src | |
parent | 07fa1d96ef060269a1db89f836df30ec2aefe1b0 (diff) | |
download | odhcp6c-9ab4436ebed3a86f22bcc5831671d3d94c9f8155.tar.gz |
Fix SOL_MAX_RT default value to match RFC 3315
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/odhcp6c.c | 2 | ||||
-rw-r--r-- | 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 <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" 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 |