From: chris Date: Wed, 26 Apr 2000 23:16:12 +0000 (+0000) Subject: Enable SIOCSIFMTU, as it is supported by if.c and ifconfig now X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2074903c39cf6f7f91c476cf39f215870e69a438;p=openbsd Enable SIOCSIFMTU, as it is supported by if.c and ifconfig now --- diff --git a/sys/dev/pci/if_wx.c b/sys/dev/pci/if_wx.c index f2686737605..abe7c423a8b 100644 --- a/sys/dev/pci/if_wx.c +++ b/sys/dev/pci/if_wx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wx.c,v 1.2 2000/03/22 18:15:20 deraadt Exp $ */ +/* $OpenBSD: if_wx.c,v 1.3 2000/04/26 23:16:12 chris Exp $ */ /* * Copyright (c) 1999, Traakan Software @@ -1895,7 +1895,6 @@ wx_ioctl(ifp, command, data) error = ether_ioctl(ifp, command, data); break; -#if defined(SIOCSIFMTU) && !defined(__OpenBSD__) case SIOCSIFMTU: if (ifr->ifr_mtu > WX_MAXMTU || ifr->ifr_mtu < ETHERMIN) { error = EINVAL; @@ -1904,7 +1903,6 @@ wx_ioctl(ifp, command, data) error = wx_init(sc); } break; -#endif case SIOCSIFFLAGS: sc->all_mcasts = (ifp->if_flags & IFF_ALLMULTI) ? 1 : 0;