Initialize ifp->if_output for FreeBSD-4.

This commit is contained in:
Hidetoshi Shimokawa 2004-07-20 04:29:33 +00:00
parent af21fc1195
commit f77993e5e0

View File

@ -209,6 +209,9 @@ fwe_attach(device_t dev)
ifp->if_name = "fwe";
#endif
ifp->if_init = fwe_init;
#if defined(__DragonFly__) || __FreeBSD_version < 500000
ifp->if_output = ether_output;
#endif
ifp->if_start = fwe_start;
ifp->if_ioctl = fwe_ioctl;
ifp->if_mtu = ETHERMTU;