X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fafp_zeroconf.c;h=64347be3f330d18d7c458096f4b3b97adf321ddf;hb=260c314546ffcfdbef47f2c7de82d5310b26df0a;hp=84f187126340dd1664274106f08dc4765c167688;hpb=25ca059b795321076af8d8d422ba6a473ef04cf6;p=netatalk.git diff --git a/etc/afpd/afp_zeroconf.c b/etc/afpd/afp_zeroconf.c index 84f18712..64347be3 100644 --- a/etc/afpd/afp_zeroconf.c +++ b/etc/afpd/afp_zeroconf.c @@ -22,13 +22,12 @@ /* * Functions (actually they are just facades) */ -void zeroconf_register(const AFPConfig *configs) +void zeroconf_register(const AFPObj *configs) { #if defined (HAVE_AVAHI) LOG(log_debug, logtype_afpd, "Attempting to register with mDNS using Avahi"); - av_zeroconf_setup(configs); - av_zeroconf_run(); + av_zeroconf_register(configs); #endif } @@ -36,6 +35,6 @@ void zeroconf_deregister(void) { #if defined (HAVE_AVAHI) LOG(log_debug, logtype_afpd, "Attempting to de-register mDNS using Avahi"); - av_zeroconf_shutdown(); + av_zeroconf_unregister(); #endif }