diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-09-18 13:50:14 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-09-18 13:50:14 +0000 |
commit | 6d823e07fed95b18cbecd140d75419d164b73178 (patch) | |
tree | b9e3862c81d5dd0f5fe133eec2f284ba9879caec /sys/net/pfvar.h | |
parent | 936c955f7bfdeab6264cf13fdb3f37e2dd10814f (diff) |
Move the pdesc initialization code into pf_setup_pdesc(). Unify
some IPv4 and IPv6 code. Make sure that both code paths set the
same fields in the same order.
ok mpf henning
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 4ed8543b0fe..5a23adba797 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.346 2011/09/18 10:40:55 bluhm Exp $ */ +/* $OpenBSD: pfvar.h,v 1.347 2011/09/18 13:50:13 bluhm Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1770,7 +1770,7 @@ void pf_purge_rule(struct pf_ruleset *, struct pf_rule *); struct pf_divert *pf_find_divert(struct mbuf *); int pf_setup_pdesc(sa_family_t, int, - struct pf_pdesc *, struct mbuf **, + struct pf_pdesc *, void *, struct mbuf **, u_short *, u_short *, int *, int *); int pf_test(sa_family_t, int, struct ifnet *, struct mbuf **, |