summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ubus.c b/src/ubus.c
index 5be6bbe..1aec590 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -53,6 +53,9 @@ static int handle_dhcpv4_leases(struct ubus_context *ctx, _unused struct ubus_ob
if (c->flags & OAF_STATIC)
blobmsg_add_string(&b, NULL, "static");
+
+ if (c->flags & OAF_BROKEN_HOSTNAME)
+ blobmsg_add_string(&b, NULL, "broken-hostname");
blobmsg_close_array(&b, m);
buf = blobmsg_alloc_string_buffer(&b, "address", INET_ADDRSTRLEN);