summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2000-04-26 23:16:13 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2000-04-26 23:16:13 +0000
commitf101b0a4deb6828e7d91b49b0c42e87659eb834d (patch)
tree25c5764db8ed43e3fa7c635276cbf12773afb7a0 /sys
parent10e8c9c895045fb519ae81e7b3c8262607558503 (diff)
Enable SIOCSIFMTU, as it is supported by if.c and ifconfig now
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_wx.c4
1 files changed, 1 insertions, 3 deletions
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;