Ticket #35 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

[PATCH] avahi fails to work on FreeBSD

Reported by: marcus@… Owned by: lennart
Milestone: Component: avahi-client
Keywords: Cc:

Description

Avahi creates invalid sendmsg() messages on FreeBSD, and thus none of avahi's operations work on FreeBSD. Running avahi-discover-standalone produces a lot of:

sendmsg() failed: Invalid argument

The main cause is the use of size_t as the type for the message buffer. If uint8_t is used instead, avahi works. The attached patch corrects this problem.

Attachments

patch-avahi-core_socket.c (2.3 kB) - added by marcus@… 6 years ago.
Fix avahi on FreeBSD

Change History

Changed 6 years ago by marcus@…

Fix avahi on FreeBSD

Changed 6 years ago by lennart

Oh, man. This is getting confusing.

How is this related to #32 and more importantly #9? And how does #19 fit in?

Changed 6 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

(In [1207]) fix sendmsg() calls on FreeBSD and AMD64 kernels with 32bit userspace. (Closes #35 and #19)

Note: See TracTickets for help on using tickets.