X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Fafp_options.c;h=22cb2d3389be6e008439be6a3649137e3c9167ff;hp=5cb205dbe7199eb2d6966533490d4538af8ee75e;hb=1f995330836cf20b5db3e5b6076735a2a0f4e81e;hpb=d3fdfefd086be69127da2320f2c83d8b69819fd7 diff --git a/etc/afpd/afp_options.c b/etc/afpd/afp_options.c index 5cb205db..22cb2d33 100644 --- a/etc/afpd/afp_options.c +++ b/etc/afpd/afp_options.c @@ -35,6 +35,7 @@ #include #include #include +#include #include "status.h" #include "auth.h" @@ -481,6 +482,19 @@ 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_note, logtype_afpd, "Fce coalesce: %s", c); + fce_set_coalesce(c); + } + if ((c = getoption(buf, "-fceevents"))) { + LOG(log_note, logtype_afpd, "Fce events: %s", c); + fce_set_events(c); + } + return 1; }