patch-2.1.72 linux/drivers/net/eql.c
Next file: linux/drivers/net/hamradio/Config.in
Previous file: linux/drivers/net/e2100.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Dec 9 09:49:58 1997
- Orig file:
v2.1.71/linux/drivers/net/eql.c
- Orig date:
Sat Nov 29 11:25:10 1997
diff -u --recursive --new-file v2.1.71/linux/drivers/net/eql.c linux/drivers/net/eql.c
@@ -329,7 +329,7 @@
static int eql_ioctl(struct device *dev, struct ifreq *ifr, int cmd)
{
- if(!suser() && cmd!=EQL_GETMASTRCFG && cmd!=EQL_GETSLAVECFG)
+ if(cmd!=EQL_GETMASTRCFG && cmd!=EQL_GETSLAVECFG && !suser())
return -EPERM;
switch (cmd)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov