patch-2.3.99-pre1 linux/drivers/net/wan/sdla.c
Next file: linux/drivers/net/wan/syncppp.c
Previous file: linux/drivers/net/wan/sbni.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Mar 13 09:50:16 2000
- Orig file:
v2.3.51/linux/drivers/net/wan/sdla.c
- Orig date:
Thu Mar 2 14:36:22 2000
diff -u --recursive --new-file v2.3.51/linux/drivers/net/wan/sdla.c linux/drivers/net/wan/sdla.c
@@ -1247,7 +1247,7 @@
{
struct frad_local *flp;
- if(!suser())
+ if(!capable(CAP_NET_ADMIN))
return -EPERM;
flp = dev->priv;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)