X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fafp_options.c;h=ff807404b36df7955379934ff0738544446bf3da;hb=33f44ea7f93b30678659d7e50b23c5056991dfd0;hp=057a1a32954164ef13330e27398273d27c65c9e9;hpb=28a45cbdf751264d881cd17e54f810f8d1a68b68;p=netatalk.git diff --git a/etc/afpd/afp_options.c b/etc/afpd/afp_options.c index 057a1a32..ff807404 100644 --- a/etc/afpd/afp_options.c +++ b/etc/afpd/afp_options.c @@ -47,6 +47,7 @@ char *strchr (), *strrchr (); #include "globals.h" #include "status.h" #include "auth.h" +#include "fce_api.h" #include @@ -448,6 +449,16 @@ int afp_options_parseline(char *buf, struct afp_options *options) if ((c = getoption(buf, "-ntseparator")) && (opt = strdup(c))) options->ntseparator = opt; + if ((c = getoption(buf, "-fcelistener"))) { + LOG(log_note, logtype_afpd, "Adding fce listener \"%s\"", c); + fce_add_udp_socket(c); + } + if ((c = getoption(buf, "-fcecoalesce"))) { + LOG(log_ote, logtype_afpd, "Fce coalesce: %s", c); + fce_set_coalesce(c); + } + + return 1; }