Don't cast the command argument to ether_ioctl() to an int since its not an

int anymore. This was causing all sorts of bad behavior when booting a system
with an nve interface present.
This commit is contained in:
Doug White 2007-06-08 22:00:56 +00:00
parent e682569165
commit d9306f7610

View File

@ -1040,7 +1040,7 @@ nve_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
default:
/* Everything else we forward to generic ether ioctl */
error = ether_ioctl(ifp, (int)command, data);
error = ether_ioctl(ifp, command, data);
break;
}