diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-04-22 20:53:38 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-04-22 20:53:38 +0400 |
commit | fc503382df18bf579375ee22d78184d7dcfaea9e (patch) | |
tree | 151c4872214c7b328f684da7ff8718eef99e6caa /drivers | |
parent | 2a2012bec51d58b05f508f0c79819d48392824ea (diff) | |
download | accel-ppp-fc503382df18bf579375ee22d78184d7dcfaea9e.tar.gz accel-ppp-fc503382df18bf579375ee22d78184d7dcfaea9e.zip |
ipoe: start dhcp socket on ipoe interfaces for unicast dhcp messages
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 3ab44e05..98ea7ffa 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -1274,7 +1274,7 @@ static int ipoe_nl_cmd_modify(struct sk_buff *skb, struct genl_info *info) if (info->attrs[IPOE_ATTR_ADDR]) { ses->addr = nla_get_be32(info->attrs[IPOE_ATTR_ADDR]); - if (ses->addr) + if (ses->addr && !ses->link_dev) dev->flags |= IFF_NOARP; else dev->flags &= ~IFF_NOARP; |