summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_ether.c')
-rw-r--r--sys/netinet/ip_ether.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/netinet/ip_ether.c b/sys/netinet/ip_ether.c
index 08363ae55fa..7ccfa42575b 100644
--- a/sys/netinet/ip_ether.c
+++ b/sys/netinet/ip_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ether.c,v 1.81 2016/09/24 14:51:37 naddy Exp $ */
+/* $OpenBSD: ip_ether.c,v 1.82 2017/01/25 17:34:31 bluhm Exp $ */
/*
* The author of this code is Angelos D. Keromytis (kermit@adk.gr)
*
@@ -89,18 +89,12 @@ struct etheripstat etheripstat;
* Only a wrapper for the IPv4 case.
*/
void
-etherip_input(struct mbuf *m, ...)
+etherip_input(struct mbuf *m, int iphlen, int proto)
{
struct ip *ip;
- va_list ap;
- int iphlen;
ip = mtod(m, struct ip *);
- va_start(ap, m);
- iphlen = va_arg(ap, int);
- va_end(ap);
-
switch (ip->ip_p) {
#if NBRIDGE > 0
case IPPROTO_ETHERIP: