diff --git a/sys/pc98/pc98/if_ed.c b/sys/pc98/pc98/if_ed.c index 8e99122b84b9..29e93dee2981 100644 --- a/sys/pc98/pc98/if_ed.c +++ b/sys/pc98/pc98/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.12 1996/12/04 04:20:48 asami Exp $ + * $Id: if_ed.c,v 1.13 1996/12/07 13:04:21 kato Exp $ */ /* @@ -3314,7 +3314,8 @@ ed_ioctl(ifp, command, data) case SIOCSIFADDR: case SIOCGIFADDR: - ether_ioctl(ifp, command, data); + case SIOCSIFMTU: + error = ether_ioctl(ifp, command, data); break; case SIOCSIFFLAGS: @@ -3376,17 +3377,6 @@ ed_ioctl(ifp, command, data) } break; - case SIOCSIFMTU: - /* - * Set the interface MTU. - */ - if (ifr->ifr_mtu > ETHERMTU) { - error = EINVAL; - } else { - ifp->if_mtu = ifr->ifr_mtu; - } - break; - default: error = EINVAL; }