Browse Source

* f2b_jail_process(): call backend 'ping'

master
Alex 'AdUser' Z 9 years ago
parent
commit
053384998c
  1. 2
      src/jail.c

2
src/jail.c

@ -153,6 +153,8 @@ f2b_jail_process(f2b_jail_t *jail) {
assert(jail != NULL); assert(jail != NULL);
f2b_backend_ping(jail->backend);
for (file = jail->logfiles; file != NULL; file = file->next) { for (file = jail->logfiles; file != NULL; file = file->next) {
while (f2b_logfile_getline(file, logline, sizeof(logline))) { while (f2b_logfile_getline(file, logline, sizeof(logline))) {
if (!f2b_filter_match(jail->filter, logline, matchbuf, sizeof(matchbuf))) if (!f2b_filter_match(jail->filter, logline, matchbuf, sizeof(matchbuf)))

Loading…
Cancel
Save