Menu

#586 Native avahi API should be the default choice

None
closed
nobody
None
1
2015-12-16
2014-12-14
renchap
No

Wjen avahi is compiled with mdnsresponder compat layer, netatalk uses it and not the native API, even if available.
It should use the native API by default, and fallback to mdnsresponder, to avoid this kind of logs (gentoo, avahi 0.6.31, netatalk 3.1.6) :

Dec 14 12:01:01 krasus netatalk[22576]: *** WARNING *** The program 'netatalk' uses the Apple Bonjour compatibility layer of Avahi.
Dec 14 12:01:01 krasus netatalk[22576]: *** WARNING *** Please fix your application to use the native API of Avahi!
Dec 14 12:01:01 krasus netatalk[22576]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=netatalk>
Dec 14 12:01:01 krasus netatalk[22576]: Registered with Zeroconf

When avahi is compiled without the mdnsresponder compat, netatalk works fine and uses the native API.

Related gentoo bug : https://bugs.gentoo.org/show_bug.cgi?id=492716

Discussion

  • Ralph Böhme

    Ralph Böhme - 2015-12-16
    • status: open --> closed
    • Group: -->
     
  • Ralph Böhme

    Ralph Böhme - 2015-12-16

    Pushed, thanks! Change is [6de3368].

     

Log in to post a comment.

MongoDB Logo MongoDB