Skip to content

Commit d094573

Browse files
committed
Add retained flag on ip address
1 parent f4f60e1 commit d094573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mokosh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ void Mokosh::publishIP()
335335
snprintf(msg, sizeof(msg) - 1, "{\"ipaddress\": \"%s\"}", ipbuf);
336336

337337
mdebugV("Sending IP");
338-
this->publish(debug_ip_topic, msg);
338+
this->publish(debug_ip_topic, msg, true);
339339
}
340340
}
341341

0 commit comments

Comments
 (0)