diff options
author | 2000-07-06 23:32:12 +0000 | |
---|---|---|
committer | 2000-07-06 23:32:12 +0000 | |
commit | ec53f8b1084b5cfa090cdc808eb23ece49ab6f6b (patch) | |
tree | b7875afcb7e7a20c9d1bbffac11758b6150c8608 | |
parent | Fix a minor bug in the MAC address unscrambling code. From FreeBSD. (diff) | |
download | wireguard-openbsd-ec53f8b1084b5cfa090cdc808eb23ece49ab6f6b.tar.xz wireguard-openbsd-ec53f8b1084b5cfa090cdc808eb23ece49ab6f6b.zip |
#ifdef SIOCGIFMTU should have been SIOCSIFMTU.
Noticed by: Chris Cappuccio <chris@dqc.org>
-rw-r--r-- | sys/dev/pci/if_wx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wx.c b/sys/dev/pci/if_wx.c index 5d1a50a70e1..2a8cf5b0977 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.4 2000/07/06 06:19:08 mjacob Exp $ */ +/* $OpenBSD: if_wx.c,v 1.5 2000/07/06 23:32:12 mjacob Exp $ */ /* * Copyright (c) 1999, Traakan Software @@ -1992,7 +1992,7 @@ wx_ioctl(ifp, command, data) error = ether_ioctl(ifp, command, data); break; -#ifdef SIOCGIFMTU +#ifdef SIOCSIFMTU case SIOCSIFMTU: if (ifr->ifr_mtu > WX_MAXMTU || ifr->ifr_mtu < ETHERMIN) { error = EINVAL; |