summaryrefslogtreecommitdiff
path: root/usr.sbin/authpf
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2004-04-09 12:42:07 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2004-04-09 12:42:07 +0000
commit166a2e1658bc097fe1406e491200f9b6dac4604d (patch)
treec21c041c7f2a9d11a4ecea8c5078581627e67f6a /usr.sbin/authpf
parent31e7eb082672d48e83df935c46a2cfe2bae838fe (diff)
Do not try to load directories. found+ok mpech@
Diffstat (limited to 'usr.sbin/authpf')
-rw-r--r--usr.sbin/authpf/authpf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 515cf8edea2..2c431cc51ba 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.75 2004/01/29 01:55:10 deraadt Exp $ */
+/* $OpenBSD: authpf.c,v 1.76 2004/04/09 12:42:06 cedric Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -909,3 +909,9 @@ void
pfctl_print_title(char *title)
{
}
+
+FILE *
+pfctl_fopen(const char *name, const char *mode)
+{
+ return fopen(name, mode);
+}