summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
commit58624f1dfc9a6fc6fec14b3ce77ac2fa0fc95401 (patch)
tree4e91fb129b136cfa4c7bbf296dd0f855bfccaa48 /src
parent4f72a4d0a9501f6b60aeb561fa55f3fcf5de9f96 (diff)
downloadconntrack-tools-58624f1dfc9a6fc6fec14b3ce77ac2fa0fc95401.tar.gz
conntrack-tools-58624f1dfc9a6fc6fec14b3ce77ac2fa0fc95401.zip
Fix wrong dlog call
Diffstat (limited to 'src')
-rw-r--r--src/run.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/run.c b/src/run.c
index 3b50ac8..6ae8b9d 100644
--- a/src/run.c
+++ b/src/run.c
@@ -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;
}