summaryrefslogtreecommitdiffstats
path: root/usr.sbin/relayd/log.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2007-05-29 17:12:04 +0000
committerreyk <reyk@openbsd.org>2007-05-29 17:12:04 +0000
commit4156152f0fa963fdd68c44681e8679032e5e075a (patch)
treec230749839cbad5806058abf4f0a479afb546490 /usr.sbin/relayd/log.c
parentFix bus_dmamap_sync size argument. (diff)
downloadwireguard-openbsd-4156152f0fa963fdd68c44681e8679032e5e075a.tar.xz
wireguard-openbsd-4156152f0fa963fdd68c44681e8679032e5e075a.zip
add a new check method which allows to run external scripts/programs
for custom evaluations. pyr agrees to put it in now but to do some improvements of the timeout handling later.
Diffstat (limited to 'usr.sbin/relayd/log.c')
-rw-r--r--usr.sbin/relayd/log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/relayd/log.c b/usr.sbin/relayd/log.c
index 0da3432ca88..e3ef97f502a 100644
--- a/usr.sbin/relayd/log.c
+++ b/usr.sbin/relayd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.4 2007/02/22 03:32:39 reyk Exp $ */
+/* $OpenBSD: log.c,v 1.5 2007/05/29 17:12:04 reyk Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -196,6 +196,8 @@ table_check(enum table_check check)
return ("http digest");
case CHECK_SEND_EXPECT:
return ("send expect");
+ case CHECK_SCRIPT:
+ return ("script");
};
/* NOTREACHED */
return ("invalid");