aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixgbe/ixv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ixgbe/ixv.c')
-rw-r--r--sys/dev/ixgbe/ixv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixv.c b/sys/dev/ixgbe/ixv.c
index e7446c213fe9..eee1c383ac53 100644
--- a/sys/dev/ixgbe/ixv.c
+++ b/sys/dev/ixgbe/ixv.c
@@ -1851,7 +1851,7 @@ ixv_setup_interface(device_t dev, struct adapter *adapter)
/*
* Tell the upper layer(s) we support long frames.
*/
- ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
+ ifp->if_hdrlen = sizeof(struct ether_vlan_header);
ifp->if_capabilities |= IFCAP_HWCSUM | IFCAP_TSO4 | IFCAP_VLAN_HWCSUM;
ifp->if_capabilities |= IFCAP_JUMBO_MTU;