summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2009-06-02 17:01:20 +0000
committerblambert <blambert@openbsd.org>2009-06-02 17:01:20 +0000
commit182b416cfa21ee2bce53db17506dc123f14a5837 (patch)
treee5b46446d2480bbdf8c7674516b52c92903dac67
parentremove unused flag; while here, make usage's output fit on 80-column displays. (diff)
downloadwireguard-openbsd-182b416cfa21ee2bce53db17506dc123f14a5837.tar.xz
wireguard-openbsd-182b416cfa21ee2bce53db17506dc123f14a5837.zip
satosin was already defined in in.h, no need to redefine it here
ok claudio@
-rw-r--r--sys/netinet/in_gif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index 4c93f4cee5c..f726f68bde9 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_gif.c,v 1.35 2008/09/28 16:14:40 jsing Exp $ */
+/* $OpenBSD: in_gif.c,v 1.36 2009/06/02 17:01:20 blambert Exp $ */
/* $KAME: in_gif.c,v 1.50 2001/01/22 07:27:16 itojun Exp $ */
/*
@@ -153,7 +153,6 @@ in_gif_input(struct mbuf *m, ...)
ip = mtod(m, struct ip *);
/* this code will be soon improved. */
-#define satosin(sa) ((struct sockaddr_in *)(sa))
LIST_FOREACH(sc, &gif_softc_list, gif_list) {
if (sc->gif_psrc == NULL || sc->gif_pdst == NULL ||
sc->gif_psrc->sa_family != AF_INET ||