]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_options.c
Rewrite ad_open arg order and style: require flags and mode to be specified for every...
[netatalk.git] / etc / afpd / afp_options.c
index 95c31c851c16a11dbbcbbb2bdb9036358c5ee4c5..87817abd06e0774588032144af378f9395c6c4ba 100644 (file)
@@ -406,8 +406,10 @@ int afp_options_parseline(char *buf, struct afp_options *options)
 
     if ((c = getoption(buf, "-port")))
         options->port = strdup(c);
+#ifndef NO_DDP
     if ((c = getoption(buf, "-ddpaddr")))
         atalk_aton(c, &options->ddpaddr);
+#endif
     if ((c = getoption(buf, "-signature")) && (opt = strdup(c)))
         options->signatureopt = opt;