diff options
-rw-r--r-- | src/ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,7 +397,7 @@ void ubus_bcast_dhcpv6_event(const char *type, const struct dhcp_assignment *a, if (a->iface->ifname) blobmsg_add_string(&b, "interface", a->iface->ifname); - if (a->clid_data && a->clid_len) { + if (a->clid_len) { char *duid = blobmsg_alloc_string_buffer(&b, "duid", a->clid_len * 2 + 1); odhcpd_hexlify(duid, a->clid_data, a->clid_len); blobmsg_add_string_buffer(&b); |