projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix mac address parsing
[project/netifd.git]
/
device.c
diff --git
a/device.c
b/device.c
index
d47bcdf
..
489c660
100644
(file)
--- a/
device.c
+++ b/
device.c
@@
-214,7
+214,7
@@
device_init_settings(struct device *dev, struct blob_attr **tb)
}
if ((cur = tb[DEV_ATTR_MACADDR])) {
- ea = ether_aton(blob_data(cur));
+ ea = ether_aton(blob
msg
_data(cur));
if (ea) {
memcpy(s->macaddr, ea, 6);
s->flags |= DEV_OPT_MACADDR;