summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-07-21 17:00:51 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-07-21 17:00:51 +0400
commit136760275f4d9594b187cb659a3faf33edd26ffa (patch)
tree1099eb6f549b6c988bf914a578d6f1f80565eeea /drivers
parentcddc20689a17a1b30d491cd2021f911a669f6dbc (diff)
downloadaccel-ppp-136760275f4d9594b187cb659a3faf33edd26ffa.tar.gz
accel-ppp-136760275f4d9594b187cb659a3faf33edd26ffa.zip
ipoe: fixed removing ip from exclude list
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c
index 04fc711..cee7edb 100644
--- a/drivers/ipoe/ipoe.c
+++ b/drivers/ipoe/ipoe.c
@@ -1680,7 +1680,7 @@ static int ipoe_nl_cmd_del_exclude(struct sk_buff *skb, struct genl_info *info)
if (!info->attrs[IPOE_ATTR_ADDR])
return -EINVAL;
- addr = ntohl(nla_get_u32(info->attrs[IPOE_ATTR_ADDR]));
+ addr = nla_get_u32(info->attrs[IPOE_ATTR_ADDR]);
if (!addr) {
clean_excl_list();
return 0;