summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-02-02 23:31:25 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-02-02 23:31:25 +0000
commitb8634cb41b4328b20605a55224a03b3b2fd72534 (patch)
tree3d9ad74925fbecb52cdb1fe6d0d61e18e255469a
parent26be785d04af1aeaf90823944abd379981199464 (diff)
adjust after pfctl change; parse_rules doesn't take opts seperately any more
-rw-r--r--usr.sbin/authpf/authpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 315a020719d..3f1248a51d8 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.49 2003/01/29 10:13:10 deraadt Exp $ */
+/* $OpenBSD: authpf.c,v 1.50 2003/02/02 23:31:24 henning Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -635,7 +635,7 @@ change_filter(int add, const char *luser, const char *ipsrc)
pf.dev = dev;
infile = fn;
- if (parse_rules(f, &pf, 0) < 0) {
+ if (parse_rules(f, &pf) < 0) {
syslog(LOG_ERR, "syntax error in rule file: "
"authpf rules not loaded");
goto error;