diff options
-rw-r--r-- | usr.sbin/authpf/authpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c index 380265fc930..0e7ef14042b 100644 --- a/usr.sbin/authpf/authpf.c +++ b/usr.sbin/authpf/authpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authpf.c,v 1.34 2002/12/17 12:42:22 mcbride Exp $ */ +/* $OpenBSD: authpf.c,v 1.35 2002/12/18 22:07:31 mcbride Exp $ */ /* * Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org). @@ -656,7 +656,7 @@ changefilter(int add, char *luser, char *ipsrc) /* add/delete rules, using parse_rule */ memset(&pf, 0, sizeof(pf)); pf.dev = dev; - pf.prule = ≺ + pf.prule[PF_RULESET_RULE] = ≺ if (parse_rules(fin, &pf, 0) < 0) { syslog(LOG_ERR, "syntax error in rule file: authpf rules not loaded"); |