diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-12-18 22:07:32 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-12-18 22:07:32 +0000 |
commit | 72155ad97c66ff74b94f94215e2c4a2059cf1f71 (patch) | |
tree | bf0777c755a474e58d16d520e948a758106a5a98 /usr.sbin/authpf/authpf.c | |
parent | e268ac22ed73b6b196d3153d24ab1ac50beea50b (diff) |
Fix tree breakage; match changes to struct pfctl (now contains an array
of pointers to pfioc_rule).
Fix from henning@
ok dhartmei@
Diffstat (limited to 'usr.sbin/authpf/authpf.c')
-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"); |