diff options
author | bp <bp@FreeBSD.org> | 2000-09-30 14:33:53 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2000-09-30 14:33:53 +0000 |
commit | 125cb222de55396adb8a20c0930141448a3ea8bc (patch) | |
tree | 1523876cca092b03a64d9e0d7831c91e061ade02 /sys/net/if_ethersubr.c | |
parent | 22f6ca78dce2e227f0d7f15b6901a45e3fba0b23 (diff) | |
download | FreeBSD-src-125cb222de55396adb8a20c0930141448a3ea8bc.zip FreeBSD-src-125cb222de55396adb8a20c0930141448a3ea8bc.tar.gz |
Properly setup link level header length for 802.2 and SNAP frames.
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r-- | sys/net/if_ethersubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 3a3b09a..0bf8070 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -73,7 +73,7 @@ #include <netipx/ipx_if.h> int (*ef_inputp)(struct ifnet*, struct ether_header *eh, struct mbuf *m); int (*ef_outputp)(struct ifnet *ifp, struct mbuf **mp, - struct sockaddr *dst, short *tp); + struct sockaddr *dst, short *tp, int *hlen); #endif #ifdef NS @@ -194,7 +194,7 @@ ether_output(ifp, m, dst, rt0) #ifdef IPX case AF_IPX: if (ef_outputp) { - error = ef_outputp(ifp, &m, dst, &type); + error = ef_outputp(ifp, &m, dst, &type, &hlen); if (error) goto bad; } else |