From 2074903c39cf6f7f91c476cf39f215870e69a438 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 26 Apr 2000 23:16:12 +0000 Subject: [PATCH] Enable SIOCSIFMTU, as it is supported by if.c and ifconfig now --- sys/dev/pci/if_wx.c | 4 +--- 1 file changed, 1 insertion(+), 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; -- 2.20.1