diff options
Diffstat (limited to 'drivers/net/ipddp.c')
-rw-r--r-- | drivers/net/ipddp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipddp.c b/drivers/net/ipddp.c index 16e52bd98..df22a0ee7 100644 --- a/drivers/net/ipddp.c +++ b/drivers/net/ipddp.c @@ -307,7 +307,7 @@ static int ipddp_ioctl(struct device *dev, struct ifreq *ifr, int cmd) { struct ipddp_route *rt = (struct ipddp_route *)ifr->ifr_data; - if(!suser()) + if(!capable(CAP_NET_ADMIN)) return -EPERM; switch(cmd) |