summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-01-08 13:37:27 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-01-08 13:37:27 +0000
commit87fbc4eb6f54a862defb1e20204b629668404f69 (patch)
tree2fd2ce8e3d02b9dedbefafc24d27c2a3cdd73286 /usr.sbin/relayd/relayd.c
parent405b2cea000c3c2e09d4f486aff444c6fca41e8a (diff)
add a generic send/expect check using regular expression (see
regex(3)). this allows to define additional checks for other TCP protocols. From Pierre-Yves Ritschard (pyr at spootnik dot org)
Diffstat (limited to 'usr.sbin/relayd/relayd.c')
-rw-r--r--usr.sbin/relayd/relayd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c
index 90648bfc898..ef75a4c755e 100644
--- a/usr.sbin/relayd/relayd.c
+++ b/usr.sbin/relayd/relayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.c,v 1.5 2006/12/25 18:40:38 reyk Exp $ */
+/* $OpenBSD: relayd.c,v 1.6 2007/01/08 13:37:26 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -32,6 +32,7 @@
#include <signal.h>
#include <unistd.h>
#include <pwd.h>
+#include <regex.h>
#include "hostated.h"