diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-07 16:32:10 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-07 16:32:10 +0000 |
commit | 6023de67c84e531939b77454783835c65f694bff (patch) | |
tree | 8011b6c6cd39a19dabef363a4d37259cebf353d6 /src/log.c | |
parent | cee8b90c3e93e9759ad559d55fc75fe9f7f11452 (diff) | |
download | conntrack-tools-6023de67c84e531939b77454783835c65f694bff.tar.gz conntrack-tools-6023de67c84e531939b77454783835c65f694bff.zip |
fix segfaul in the exit path for the statistics mode (introduced in r7175)
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -171,6 +171,7 @@ void close_log(void) if (STATE(stats_log) != NULL) fclose(STATE(stats_log)); - if (CONFIG(syslog_facility) != -1) + if (CONFIG(syslog_facility) != -1 || + CONFIG(stats).syslog_facility != -1) closelog(); } |