]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
make it compile again (small bugfixes after sighandler checkin)
authorlaforge <laforge>
Sun, 17 Jun 2001 20:08:30 +0000 (20:08 +0000)
committerlaforge <laforge>
Sun, 17 Jun 2001 20:08:30 +0000 (20:08 +0000)
configure.in
include/ulogd/ulogd.h
ulogd.c

index 4e1170882e0a38c611ff1fc7cf1de1f53a4c2099..fc4bb7305a8042e1a5f8bc6e1fbbf285c3c26685 100644 (file)
@@ -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      
index 613bb699c7dd24ffa54b8ebf4ba50dd835c92ab6..fe9a818581c1ffc191619fb48bf80dcc400efe9b 100644 (file)
@@ -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.c b/ulogd.c
index a13f5a0e12e4e18da8a87dfba6e184d505b88c85..a62331ab5ad280f0e86cf2bd578d3a9bf791ec8a 100644 (file)
--- a/ulogd.c
+++ b/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);
        }
 }