summaryrefslogtreecommitdiff
path: root/sys/net/if_gre.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2014-04-21 11:10:55 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2014-04-21 11:10:55 +0000
commit72db62ba641f18218b24986c24fed35a87c901f3 (patch)
tree81c7576fe1ff945724800630ba86c40f97602b83 /sys/net/if_gre.c
parenta7646c72d921d269b3b42c1b9cc50aec5263af76 (diff)
we'll do fine without casting NULL to struct foo * / void *
ok gcc & md5 (alas, no binary change)
Diffstat (limited to 'sys/net/if_gre.c')
-rw-r--r--sys/net/if_gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index 9047339217e..ceba5948651 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gre.c,v 1.65 2014/04/14 09:06:42 mpi Exp $ */
+/* $OpenBSD: if_gre.c,v 1.66 2014/04/21 11:10:54 henning Exp $ */
/* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -430,7 +430,7 @@ gre_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst,
#endif
/* Send it off */
- error = ip_output(m, (void *)NULL, &sc->route, 0, (void *)NULL, (void *)NULL);
+ error = ip_output(m, NULL, &sc->route, 0, NULL, NULL);
end:
if (error)
ifp->if_oerrors++;