diff options
author | 2017-04-14 20:50:35 +0000 | |
---|---|---|
committer | 2017-04-14 20:50:35 +0000 | |
commit | 9de06d4372364f8a0268e61fe71e22f436355419 (patch) | |
tree | bbfa1f6e4a2f8ce909d2fd61689512d203ae4c9d | |
parent | Pass down the address family through the pr_input calls. This (diff) | |
download | wireguard-openbsd-9de06d4372364f8a0268e61fe71e22f436355419.tar.xz wireguard-openbsd-9de06d4372364f8a0268e61fe71e22f436355419.zip |
Remove unused define satoin6().
-rw-r--r-- | sys/net/if_gif.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index b89b5317f87..71e7d5b25ea 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.c,v 1.92 2017/04/14 20:46:31 bluhm Exp $ */ +/* $OpenBSD: if_gif.c,v 1.93 2017/04/14 20:50:35 bluhm Exp $ */ /* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */ /* @@ -856,7 +856,6 @@ int in6_gif_input(struct mbuf **mp, int *offp, int proto, int af) in6_recoverscope(&src, &ip6->ip6_src); in6_recoverscope(&dst, &ip6->ip6_dst); -#define satoin6(sa) (satosin6(sa)->sin6_addr) LIST_FOREACH(sc, &gif_softc_list, gif_list) { if (sc->gif_psrc == NULL || sc->gif_pdst == NULL || sc->gif_psrc->sa_family != AF_INET6 || |