- Break after nested switch.

- Default returns an error.
This commit is contained in:
Matthew N. Dodd 2005-03-24 02:08:22 +00:00
parent 5b9c896ccd
commit 96a205962e

View File

@ -663,6 +663,7 @@ fddi_ioctl (ifp, command, data)
ifp->if_init(ifp->if_softc);
break;
}
break;
case SIOCGIFADDR: {
struct sockaddr *sa;
@ -683,6 +684,7 @@ fddi_ioctl (ifp, command, data)
}
break;
default:
error = EINVAL;
break;
}