diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2001-09-07 07:19:12 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2001-09-07 07:19:12 +0000 |
| commit | ff265614c166724356a66c341ff3bb9c4ee3c260 (patch) | |
| tree | d013f55450d9cf7688fbd35f24d13797e19ae112 /sys/netinet/ip_encap.c | |
| parent | f97e0a071943145b1545078f207b0aa628c402eb (diff) | |
Notes
Diffstat (limited to 'sys/netinet/ip_encap.c')
| -rw-r--r-- | sys/netinet/ip_encap.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c index 2476d7159176..e3844dfdd8e5 100644 --- a/sys/netinet/ip_encap.c +++ b/sys/netinet/ip_encap.c @@ -127,26 +127,17 @@ encap_init() #ifdef INET void -#if __STDC__ -encap4_input(struct mbuf *m, ...) -#else -encap4_input(m, va_alist) +encap4_input(m, off) struct mbuf *m; - va_dcl -#endif + int off; { - int off, proto; struct ip *ip; + int proto; struct sockaddr_in s, d; const struct protosw *psw; struct encaptab *ep, *match; - va_list ap; int prio, matchprio; - va_start(ap, m); - off = va_arg(ap, int); - va_end(ap); - ip = mtod(m, struct ip *); proto = ip->ip_p; |
