treewide: pass bool as second argument of blobmsg_check_attr
[project/netifd.git] / interface.c
index e0652cdb79d0fc957a11db2146242a439c51fbf7..028dc6ccd5e53fd26ffe498699ba6621461311b9 100644 (file)
@@ -497,7 +497,7 @@ interface_add_assignment_classes(struct interface *iface, struct blob_attr *list
                if (blobmsg_type(cur) != BLOBMSG_TYPE_STRING)
                        continue;
 
-               if (!blobmsg_check_attr(cur, NULL))
+               if (!blobmsg_check_attr(cur, false))
                        continue;
 
                struct interface_assignment_class *c = malloc(sizeof(*c) + blobmsg_data_len(cur));