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:
7622440
)
fix mac address parsing
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 28 Feb 2012 00:05:35 +0000
(
01:05
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 28 Feb 2012 00:05:35 +0000
(
01:05
+0100)
device.c
patch
|
blob
|
history
diff --git
a/device.c
b/device.c
index d47bcdf5db88e1cce00e8f2e95ee312408229a6f..489c6601de8dfe076436a29615fe2ca7d70a5354 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;