Commit b3e15181 authored by Wayne Davison's avatar Wayne Davison

Log when someone requests a module list.

parent aca5500a
......@@ -773,6 +773,10 @@ int start_daemon(int f_in, int f_out)
return -1;
if (!*line || strcmp(line, "#list") == 0) {
char *addr = client_addr(f_in);
char *host = client_name(f_in);
rprintf(FLOG, "module-list request from %s (%s)\n",
host, addr);
send_listing(f_out);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment