diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2024-01-13 19:29:58 +0000 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2024-01-13 19:29:58 +0000 |
commit | 8904cd5c4a20b28c94a47fe7d22589f3a63c45fb (patch) | |
tree | 77f54811498a8bbfd7d414a27dda5f8cd52c5b37 /src/ubus.c | |
parent | 2dc88de711bd13f33880470cabf28840f07416f0 (diff) |
WIP: fix clid_data always truewireguard
Diffstat (limited to 'src/ubus.c')
-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); |