diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-02-28 01:05:35 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-02-28 01:05:35 +0100 |
commit | 93ddba72304f8267f8ca63dce2235a154227cd99 (patch) | |
tree | 1030f1c760f9f32691c94d12d32efdbe62e5896b /device.c | |
parent | 7622440f6ddb0facdaca208186f72b345a6f7c3d (diff) |
fix mac address parsing
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(blobmsg_data(cur)); if (ea) { memcpy(s->macaddr, ea, 6); s->flags |= DEV_OPT_MACADDR; |