diff options
author | 2017-08-13 07:52:17 +0000 | |
---|---|---|
committer | 2017-08-13 07:52:17 +0000 | |
commit | c90627a8ce6c7961e005636920f9177873b29a6b (patch) | |
tree | 9bf020d4b149fba6318a5f14fbc0c138d6421cb0 | |
parent | actually add the files needed by my test. noted by bluhm@, thx (diff) | |
download | wireguard-openbsd-c90627a8ce6c7961e005636920f9177873b29a6b.tar.xz wireguard-openbsd-c90627a8ce6c7961e005636920f9177873b29a6b.zip |
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?) */ |