diff options
Diffstat (limited to 'sys/dev/le/lance.c')
-rw-r--r-- | sys/dev/le/lance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/le/lance.c b/sys/dev/le/lance.c index 6c6d3f5325a7..2a2b0e0fa956 100644 --- a/sys/dev/le/lance.c +++ b/sys/dev/le/lance.c @@ -196,7 +196,7 @@ lance_attach(struct lance_softc *sc) ether_ifattach(ifp, sc->sc_enaddr); /* Claim 802.1q capability. */ - ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); + ifp->if_hdrlen = sizeof(struct ether_vlan_header); ifp->if_capabilities |= IFCAP_VLAN_MTU; ifp->if_capenable |= IFCAP_VLAN_MTU; } |