diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2017-08-13 07:52:18 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2017-08-13 07:52:18 +0000 |
commit | 45d21f5368277150f549b3c5934c79d33fcb7b68 (patch) | |
tree | 158028b46a2660e8da5e11b11b6493c93d2445da | |
parent | b774420b6e5caca22d2e2f63a91518805c52ba99 (diff) |
The impossibility has been impossible since an impossible long
time. And indeed it is impossible to arrive here with something other
than a ND_OPT_PREFIX_INFORMATION. Remove #if 0'ed block.
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c index cabec6c5950..6dacab46af3 100644 --- a/usr.sbin/rtadvd/rtadvd.c +++ b/usr.sbin/rtadvd/rtadvd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtadvd.c,v 1.89 2017/08/12 07:38:26 florian Exp $ */ +/* $OpenBSD: rtadvd.c,v 1.90 2017/08/13 07:52:17 florian Exp $ */ /* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */ /* @@ -838,11 +838,6 @@ prefix_check(struct nd_opt_prefix_info *pinfo, u_char ntopbuf[INET6_ADDRSTRLEN], prefixbuf[INET6_ADDRSTRLEN]; struct timeval now; -#if 0 /* impossible */ - if (pinfo->nd_opt_pi_type != ND_OPT_PREFIX_INFORMATION) - return(0); -#endif - /* * log if the advertised prefix has link-local scope(sanity check?) */ |