]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_config.c
Sending TM used size
[netatalk.git] / etc / afpd / afp_config.c
index 790ee2fffbf9e7b0e0c9afa98ae2de32444fb544..7f5fd1f1fc9e32d10f3adc16c85da1cfdfdae4b6 100644 (file)
@@ -591,8 +591,10 @@ AFPConfig *configinit(struct afp_options *cmdline)
         first = AFPConfigInit(cmdline, cmdline);
 
     /* Now register with zeroconf, we also need the volumes for that */
-    load_volumes(&first->obj);
-    zeroconf_register(first);
+    if (! (first->obj.options.flags & OPTION_NOZEROCONF)) {
+        load_volumes(&first->obj);
+        zeroconf_register(first);
+    }
 
     return first;
 }