Hallo Gonzalo,
I'm writing to you as to maintainer of OpenMDNS port. Right now there
is a bug in the implementation on mdnsctl tool, which affects also 5.4
release.
The tool reports for any kind of requests "undefined error: 0", which
makes it totally unusable.
In the attachment is a fix of this issue, as pulled out of the git
repository.
(https://github.com/haesbaert/mdnsd/commit/cdd16e971a0204b8439b07a81879573e01fae4cb)
I've tested it locally and it seems to solve the problem.
Would you be please so kind to test it and to check it in into the CVS
repository?
wbr,
--
Dimitri Sokolyuk <de...@dim13.org> http://www.dim13.org/
$OpenBSD$
--- mdnsctl/mdnsl.c.orig Wed Aug 14 11:44:23 2013
+++ mdnsctl/mdnsl.c Wed Aug 14 11:44:59 2013
@@ -510,7 +510,7 @@ ibuf_send_imsg(struct imsgbuf *ibuf, u_int32_t type,
imsg_close(ibuf, wbuf);
- if (msgbuf_write(&ibuf->w))
+ if (msgbuf_write(&ibuf->w) == -1)
return (-1);
return (0);