diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2015-08-21 10:11:56 +0800 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-08-25 08:26:56 +0200 |
commit | 11c7cf99c362b9dc33c6d1aa209321e38d131128 (patch) | |
tree | 707dc027310f73bced846cecfb1b9bc1fcc94df0 /ubus.c | |
parent | 5f0e4070402ff056584eac5afed490cd0a407697 (diff) |
Changes for more readability.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -817,7 +817,7 @@ netifd_iface_handle_device(struct ubus_context *ctx, struct ubus_object *obj, cur = tb[DEV_LINK_EXT]; if (cur) - link_ext = !!blobmsg_get_u8(cur); + link_ext = blobmsg_get_bool(cur); return interface_handle_link(iface, blobmsg_data(tb[DEV_LINK_NAME]), add, link_ext); } |