Move comment to the right position.

PR:		152791
Submitted by:	vangyzen (as part of the functional change)
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2015-07-03 09:53:56 +00:00
parent ef19855701
commit bfbc08b848
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285084

View File

@ -2404,7 +2404,6 @@ icmp6_redirect_input(struct mbuf *m, int off)
icmp6_redirect_diag(&src6, &reddst6, &redtgt6)));
goto bad;
}
/* validation passed */
icmp6len -= sizeof(*nd_rd);
nd6_option_init(nd_rd + 1, icmp6len, &ndopts);
@ -2429,6 +2428,8 @@ icmp6_redirect_input(struct mbuf *m, int off)
goto bad;
}
/* Validation passed. */
/* RFC 2461 8.3 */
nd6_cache_lladdr(ifp, &redtgt6, lladdr, lladdrlen, ND_REDIRECT,
is_onlink ? ND_REDIRECT_ONLINK : ND_REDIRECT_ROUTER);