patch-2.1.100 linux/drivers/net/ipddp.c
Next file: linux/drivers/net/ppp.c
Previous file: linux/drivers/net/ewrk3.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 6 10:56:04 1998
- Orig file:
v2.1.99/linux/drivers/net/ipddp.c
- Orig date:
Tue Mar 17 22:18:14 1998
diff -u --recursive --new-file v2.1.99/linux/drivers/net/ipddp.c linux/drivers/net/ipddp.c
@@ -307,7 +307,7 @@
{
struct ipddp_route *rt = (struct ipddp_route *)ifr->ifr_data;
- if(!suser())
+ if(!capable(CAP_NET_ADMIN))
return -EPERM;
switch(cmd)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov