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/netinet/ip_ether.h | |
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/netinet/ip_ether.h')
-rw-r--r-- | sys/netinet/ip_ether.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_ether.h b/sys/netinet/ip_ether.h index fcffa66de56..88f6875eaa1 100644 --- a/sys/netinet/ip_ether.h +++ b/sys/netinet/ip_ether.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ether.h,v 1.21 2017/03/07 23:35:06 jca Exp $ */ +/* $OpenBSD: ip_ether.h,v 1.22 2017/04/14 20:46:31 bluhm Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@adk.gr) * @@ -72,7 +72,7 @@ struct etherip_header { struct tdb; int etherip_output(struct mbuf *, struct tdb *, struct mbuf **, int); -int etherip_input(struct mbuf **, int *, int); +int etherip_input(struct mbuf **, int *, int, int); int etherip_sysctl(int *, u_int, void *, size_t *, void *, size_t); extern int etherip_allow; |