diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-07-21 17:00:51 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-07-21 17:00:51 +0400 |
commit | 136760275f4d9594b187cb659a3faf33edd26ffa (patch) | |
tree | 1099eb6f549b6c988bf914a578d6f1f80565eeea /drivers | |
parent | cddc20689a17a1b30d491cd2021f911a669f6dbc (diff) | |
download | accel-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.c | 2 |
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; |