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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132430

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;