#include <netinet/in.h>
#include <arpa/inet.h>
+#include <libubox/utils.h>
+
#include "odhcpd.h"
#include "dhcpv6.h"
#include "dhcpv4.h"
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);