projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d99c7d
)
system-linux: use correct netlink attribute for address management
author
Steven Barth
<steven@midlink.org>
Wed, 28 Sep 2011 11:22:43 +0000
(11:22 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 28 Sep 2011 11:22:43 +0000
(11:22 +0000)
system-linux.c
patch
|
blob
|
history
diff --git
a/system-linux.c
b/system-linux.c
index cee41f505dfb20a0039f6b1a521a4a55b82ed6bd..f6e1058fa85bccf5d8d5daa9dbd8294e2dd878b7 100644
(file)
--- a/
system-linux.c
+++ b/
system-linux.c
@@
-203,7
+203,7
@@
static int system_addr(struct device *dev, struct device_addr *addr, int cmd)
return -1;
nlmsg_append(msg, &ifa, sizeof(ifa), 0);
- nla_put(msg, IFA_
ADDRESS
, alen, &addr->addr);
+ nla_put(msg, IFA_
LOCAL
, alen, &addr->addr);
return system_rtnl_call(msg);
}