summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2019-05-16 22:09:36 +0200
committerHans Dedecker <dedeckeh@gmail.com>2019-05-16 22:15:16 +0200
commitf1aa0f9064653110d117fb5be8d8901086236227 (patch)
tree46f1a9ab96953f5e1b51fd67f515717e5c403412 /interface-ip.c
parentf6fb70005a52bb6bd6affd0fdc664664339a616b (diff)
treewide: pass bool as second argument of blobmsg_check_attr
blobmsg_check_attr() takes as second argument a bool; fix it where needed Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-ip.c b/interface-ip.c
index 6900cd7..d4f428d 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -1358,7 +1358,7 @@ interface_add_dns_server_list(struct interface_ip_settings *ip, struct blob_attr
if (blobmsg_type(cur) != BLOBMSG_TYPE_STRING)
continue;
- if (!blobmsg_check_attr(cur, NULL))
+ if (!blobmsg_check_attr(cur, false))
continue;
interface_add_dns_server(ip, blobmsg_data(cur));
@@ -1390,7 +1390,7 @@ interface_add_dns_search_list(struct interface_ip_settings *ip, struct blob_attr
if (blobmsg_type(cur) != BLOBMSG_TYPE_STRING)
continue;
- if (!blobmsg_check_attr(cur, NULL))
+ if (!blobmsg_check_attr(cur, false))
continue;
interface_add_dns_search_domain(ip, blobmsg_data(cur));