summaryrefslogtreecommitdiffstats
path: root/sys/dev/cas/if_cas.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cas/if_cas.c')
-rw-r--r--sys/dev/cas/if_cas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cas/if_cas.c b/sys/dev/cas/if_cas.c
index 0c69880..4b4ea1f 100644
--- a/sys/dev/cas/if_cas.c
+++ b/sys/dev/cas/if_cas.c
@@ -423,7 +423,7 @@ cas_attach(struct cas_softc *sc)
/*
* Tell the upper layer(s) we support long frames/checksum offloads.
*/
- ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
+ ifp->if_hdrlen = sizeof(struct ether_vlan_header);
ifp->if_capabilities = IFCAP_VLAN_MTU;
if ((sc->sc_flags & CAS_NO_CSUM) == 0) {
ifp->if_capabilities |= IFCAP_HWCSUM;
OpenPOWER on IntegriCloud