dhcpv4: add ubus_get_address4 ubus_get_mask4 function
[project/odhcpd.git] / src / config.c
index 9dbe7f0..f9ad3b8 100644 (file)
@@ -695,7 +695,7 @@ static void handle_signal(int signal)
 static void reload_cb(struct uloop_fd *u, _unused unsigned int events)
 {
        char b[512];
-       if (read(u->fd, b, sizeof(b) < 0)) {}
+       if (read(u->fd, b, sizeof(b)) < 0) {}
        odhcpd_reload();
 }