diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-24 16:08:49 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-24 16:08:49 +0000 |
commit | e0c077b4ae2af1033ae68483240bcafd270f6d43 (patch) | |
tree | c5e206311f93d050ccc52d43dd956c670f2c0f01 /sys/netinet6/nd6.c | |
parent | ba6eab9902faa98bef56bd0329c5174b2be42a06 (diff) |
Ignore Router Advertisment's current hop limit.
Appart from the usual inet6 axe murdering exercise to keep you fit, this
allows us to get rid of a lot of layer violation due to the use of per-
ifp variables to store the current hop limit.
Imputs from bluhm@, ok phessler@, florian@, bluhm@
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r-- | sys/netinet6/nd6.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 3cb55ede1f2..1d30d63a979 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.c,v 1.158 2015/10/22 16:44:54 mpi Exp $ */ +/* $OpenBSD: nd6.c,v 1.159 2015/10/24 16:08:48 mpi Exp $ */ /* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */ /* @@ -147,7 +147,6 @@ nd6_ifattach(struct ifnet *ifp) nd->initialized = 1; - nd->chlim = IPV6_DEFHLIM; nd->basereachable = REACHABLE_TIME; nd->reachable = ND_COMPUTE_RTIME(nd->basereachable); nd->retrans = RETRANS_TIMER; |