X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fubus.c;h=14d0a5f85c12005811041ace76f6dc958d50e715;hp=0b51183f5c9cec3cdd4c2ac6ebc20d9e2cc1e21c;hb=25f7c94b65dcd501c8f12e7515e3e33332ce3c9e;hpb=c5cb11650a1f7ff321b4ac190c8be7f533cf9636 diff --git a/src/ubus.c b/src/ubus.c index 0b51183..14d0a5f 100644 --- a/src/ubus.c +++ b/src/ubus.c @@ -345,7 +345,7 @@ bool ubus_has_prefix(const char *name, const char *ifname) continue; if ((cur = tb[IFACE_ATTR_PREFIX])) { - if (blobmsg_type(cur) != BLOBMSG_TYPE_ARRAY || !blobmsg_check_attr(cur, NULL)) + if (blobmsg_type(cur) != BLOBMSG_TYPE_ARRAY || !blobmsg_check_attr(cur, false)) continue; struct blob_attr *d;