CTL_ENABLE_PORT
case CTL_ENABLE_PORT:
if (cmd == CTL_ENABLE_PORT) {
if (ioctl(ctl_fd, CTL_ENABLE_PORT, &entry) != 0)
if (ioctl(fd, CTL_ENABLE_PORT, &entry) == -1) {
error = ioctl(ctl_fd, CTL_ENABLE_PORT, &entry);