X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Fafp_options.c;h=9bb48042fa1e98ffdb5033edf70173995c310740;hp=f3724c13cdbd6d05f8403b6a753839e9c1f207c0;hb=5116ed2346ea7ee6e5a9858dee94f3eacdc00d7e;hpb=5825df1c826101269dccd558ac9ac85c0dcd4e36 diff --git a/etc/afpd/afp_options.c b/etc/afpd/afp_options.c index f3724c13..9bb48042 100644 --- a/etc/afpd/afp_options.c +++ b/etc/afpd/afp_options.c @@ -39,6 +39,7 @@ #include "status.h" #include "auth.h" #include "dircache.h" +#include "fce_api.h" #ifndef MIN #define MIN(a, b) ((a) < (b) ? (a) : (b)) @@ -478,6 +479,15 @@ int afp_options_parseline(char *buf, struct afp_options *options) if ((c = getoption(buf, "-tcprcvbuf"))) options->tcp_rcvbuf = atoi(c); + 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; }