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-18 13:38:04 +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-18 13:38:04 +0000 |
commit | 58624f1dfc9a6fc6fec14b3ce77ac2fa0fc95401 (patch) | |
tree | 4e91fb129b136cfa4c7bbf296dd0f855bfccaa48 /src | |
parent | 4f72a4d0a9501f6b60aeb561fa55f3fcf5de9f96 (diff) | |
download | conntrack-tools-58624f1dfc9a6fc6fec14b3ce77ac2fa0fc95401.tar.gz conntrack-tools-58624f1dfc9a6fc6fec14b3ce77ac2fa0fc95401.zip |
Fix wrong dlog call
Diffstat (limited to 'src')
-rw-r--r-- | src/run.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -116,16 +116,15 @@ init(void) } if (nl_init_event_handler() == -1) { - dlog(STATE(log), LOG_ERR, "can't open netlink handler: %s", - strerror(errno)); - dlog(STATE(log), LOG_ERR, "no ctnetlink kernel support?"); + dlog(LOG_ERR, "can't open netlink handler: %s", strerror(errno)); + dlog(LOG_ERR, "no ctnetlink kernel support?"); return -1; } if (nl_init_dump_handler() == -1) { - dlog(STATE(log), LOG_ERR, "can't open netlink handler: %s", + dlog(LOG_ERR, "can't open netlink handler: %s", strerror(errno)); - dlog(STATE(log), LOG_ERR, "no ctnetlink kernel support?"); + dlog(LOG_ERR, "no ctnetlink kernel support?"); return -1; } |