diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-21 12:22:27 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-21 12:22:27 +0000 |
commit | 207d542b8dba7ba358aa55753f9364c63325b71e (patch) | |
tree | 98dcc4d82d9b2a21c2c4967e89dadf111ae44fdf /sys/net/if_gif.c | |
parent | ea6860bd08ed6e4afbbda0582813c50d322e867a (diff) |
ip_output() using varargs always struck me as bizarre, esp since it's only
ever used to pass on uint32 (for ipsec). stop that madness and just pass
the uint32, 0 in all cases but the two that pass the ipsec flowinfo.
ok deraadt reyk guenther
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r-- | sys/net/if_gif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 1b7d667c277..ec0ba137193 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.c,v 1.65 2014/04/21 11:10:54 henning Exp $ */ +/* $OpenBSD: if_gif.c,v 1.66 2014/04/21 12:22:25 henning Exp $ */ /* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */ /* @@ -261,7 +261,7 @@ gif_start(struct ifnet *ifp) switch (sc->gif_psrc->sa_family) { #ifdef INET case AF_INET: - ip_output(m, NULL, NULL, 0, NULL, NULL); + ip_output(m, NULL, NULL, 0, NULL, NULL, 0); break; #endif #ifdef INET6 |