summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-11-23 00:45:42 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-11-23 00:45:42 +0000
commit7a0215ca529952afb7cda8584a8a32eb729a38a8 (patch)
treea043e7c262aaef8d806f12b3e7a2538cbef22c0b /usr.sbin
parent5195562c2164e94d30c645c2f126d6badc503c07 (diff)
Unbreak tree, rs_num is now type and while there use PF_TRANS_RULESET instead
of the hardcoded 0. OK henning@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/relayd/pfe_filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/pfe_filter.c b/usr.sbin/relayd/pfe_filter.c
index 394c1c12e98..24341dc05b8 100644
--- a/usr.sbin/relayd/pfe_filter.c
+++ b/usr.sbin/relayd/pfe_filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfe_filter.c,v 1.39 2009/09/01 13:43:36 reyk Exp $ */
+/* $OpenBSD: pfe_filter.c,v 1.40 2009/11/23 00:45:41 claudio Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -337,7 +337,7 @@ transaction_init(struct relayd *env, const char *anchor)
bzero(&env->sc_pf->pfte, sizeof(env->sc_pf->pfte));
(void)strlcpy(env->sc_pf->pfte.anchor,
anchor, PF_ANCHOR_NAME_SIZE);
- env->sc_pf->pfte.rs_num = 0;
+ env->sc_pf->pfte.type = PF_TRANS_RULESET;
if (ioctl(env->sc_pf->dev, DIOCXBEGIN,
&env->sc_pf->pft) == -1)