summaryrefslogtreecommitdiffstats
path: root/ulogd
diff options
context:
space:
mode:
authorlaforge <laforge>2001-06-17 20:08:30 +0000
committerlaforge <laforge>2001-06-17 20:08:30 +0000
commit138afedddb574993d5149a3628c9ba897459d469 (patch)
tree22f28be9669962330fad5344c97d1ee0609af047 /ulogd
parent71fd5ce504ee00c96ba8033b1c54fa04614a98a6 (diff)
make it compile again (small bugfixes after sighandler checkin)
Diffstat (limited to 'ulogd')
-rw-r--r--ulogd/configure.in4
-rw-r--r--ulogd/include/ulogd/ulogd.h5
-rw-r--r--ulogd/ulogd.c8
3 files changed, 9 insertions, 8 deletions
diff --git a/ulogd/configure.in b/ulogd/configure.in
index 4e11708..fc4bb73 100644
--- a/ulogd/configure.in
+++ b/ulogd/configure.in
@@ -100,9 +100,9 @@ else
if test "x$MYSQL_FUNCTION_TEST" = x
then
EXTRA_MYSQL_DEF="OLD_MYSQL=1 "
- AC_MSG_RESULT(found an older version of MySQL)
+ AC_MSG_RESULT(found old MySQL)
else
- AC_MSG_RESULT(found a newer version of MySQL)
+ AC_MSG_RESULT(found new MySQL)
fi
fi
diff --git a/ulogd/include/ulogd/ulogd.h b/ulogd/include/ulogd/ulogd.h
index 613bb69..fe9a818 100644
--- a/ulogd/include/ulogd/ulogd.h
+++ b/ulogd/include/ulogd/ulogd.h
@@ -1,6 +1,6 @@
#ifndef _ULOGD_H
#define _ULOGD_H
-/* ulogd, Version $Revision: 1.13 $
+/* ulogd, Version $Revision: 1.14 $
*
* userspace logging daemon for netfilter ULOG target
* of the linux 2.4 netfilter subsystem.
@@ -9,11 +9,12 @@
*
* this code is released under the terms of GNU GPL
*
- * $Id: ulogd.h,v 1.13 2001/05/26 23:19:28 laforge Exp $
+ * $Id: ulogd.h,v 1.14 2001/06/14 19:25:25 laforge Exp $
*/
#include <libipulog/libipulog.h>
#include <stdio.h>
+#include <signal.h> /* need this because of extension-sighandler */
/* All types with MSB = 1 make use of value.ptr
* other types use one of the union's member */
diff --git a/ulogd/ulogd.c b/ulogd/ulogd.c
index a13f5a0..a62331a 100644
--- a/ulogd/ulogd.c
+++ b/ulogd/ulogd.c
@@ -1,6 +1,6 @@
-/* ulogd, Version $Revision: 1.16 $
+/* ulogd, Version $Revision: 1.17 $
*
- * $Id: ulogd.c,v 1.16 2001/05/26 23:19:28 laforge Exp $
+ * $Id: ulogd.c,v 1.17 2001/06/14 19:25:25 laforge Exp $
*
* userspace logging daemon for the netfilter ULOG target
* of the linux 2.4 netfilter subsystem.
@@ -521,8 +521,8 @@ static void sighup_handler(int signal)
ulogd_log(ULOGD_NOTICE, "sighup received, calling plugin handlers\n");
for (p = ulogd_outputs; p; p = p->next) {
- if (p->sighup)
- (*p->sighup)(SIGHUP);
+ if (p->signal)
+ (*p->signal)(SIGHUP);
}
}