summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/facpri.c
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2001-07-28 11:59:33 +0000
committerdarrenr <darrenr@FreeBSD.org>2001-07-28 11:59:33 +0000
commitc51cd1facc817411a340278e6e0b901d53f11cc5 (patch)
tree503d2119100a8bd3735c0bda1607f3a64ed1ad33 /contrib/ipfilter/facpri.c
parentc32397cc6efcbaabe335e3ec33e4a4dd78df29c7 (diff)
downloadFreeBSD-src-c51cd1facc817411a340278e6e0b901d53f11cc5.zip
FreeBSD-src-c51cd1facc817411a340278e6e0b901d53f11cc5.tar.gz
Import IPFilter version 3.4.20
Diffstat (limited to 'contrib/ipfilter/facpri.c')
-rw-r--r--contrib/ipfilter/facpri.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/contrib/ipfilter/facpri.c b/contrib/ipfilter/facpri.c
index f851918..79afdd2 100644
--- a/contrib/ipfilter/facpri.c
+++ b/contrib/ipfilter/facpri.c
@@ -1,9 +1,7 @@
/*
- * Copyright (C) 1993-2000 by Darren Reed.
+ * Copyright (C) 1993-2001 by Darren Reed.
*
- * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and due credit is given
- * to the original author and the contributors.
+ * See the IPFILTER.LICENCE file for details on licencing.
*/
#include <stdio.h>
#include <string.h>
@@ -18,8 +16,12 @@
#include <syslog.h>
#include "facpri.h"
+#ifndef __STDC__
+# define const
+#endif
+
#if !defined(lint)
-static const char rcsid[] = "@(#)$Id: facpri.c,v 1.3 2000/03/13 22:10:18 darrenr Exp $";
+static const char rcsid[] = "@(#)$Id: facpri.c,v 1.3.2.4 2001/07/15 22:06:12 darrenr Exp $";
#endif
typedef struct table {
@@ -55,6 +57,9 @@ table_t facs[] = {
#else
{ "cron2", LOG_CRON2 },
#endif
+#ifdef LOG_SECURITY
+ { "security", LOG_SECURITY },
+#endif
{ "local0", LOG_LOCAL0 }, { "local1", LOG_LOCAL1 },
{ "local2", LOG_LOCAL2 }, { "local3", LOG_LOCAL3 },
{ "local4", LOG_LOCAL4 }, { "local5", LOG_LOCAL5 },
OpenPOWER on IntegriCloud