diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-04-14 20:46:32 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-04-14 20:46:32 +0000 |
commit | 14e60fde4883c2c47ca36b2f86aff14bea8edd31 (patch) | |
tree | 831d67c671284e36badecefe711a7e040eece7b0 /sys/netinet6/frag6.c | |
parent | 708bc10167aa7c173466c8d11086853693f659d3 (diff) |
Pass down the address family through the pr_input calls. This
allows to simplify code used for both IPv4 and IPv6.
OK mikeb@ deraadt@
Diffstat (limited to 'sys/netinet6/frag6.c')
-rw-r--r-- | sys/netinet6/frag6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c index 395051928f8..baaec54bab1 100644 --- a/sys/netinet6/frag6.c +++ b/sys/netinet6/frag6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frag6.c,v 1.72 2017/02/05 16:04:14 jca Exp $ */ +/* $OpenBSD: frag6.c,v 1.73 2017/04/14 20:46:31 bluhm Exp $ */ /* $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $ */ /* @@ -154,7 +154,7 @@ frag6_init(void) * Fragment input */ int -frag6_input(struct mbuf **mp, int *offp, int proto) +frag6_input(struct mbuf **mp, int *offp, int proto, int af) { struct mbuf *m = *mp, *t; struct ip6_hdr *ip6; |