diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2003-12-11 13:13:28 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2003-12-11 13:13:28 +0000 |
commit | 353bea678027b1d617cb0c8f6072e2501fa1f172 (patch) | |
tree | 09174057d3a18b667ae874de46e5eb8eb188b1a4 /sys/net/pfvar.h | |
parent | 3a9253e52e64f1ba9e265d024d27c6ecfac399c2 (diff) |
Fix PR3587 and other related problems with NAT and table stats.
PPL that have that problem and cannot upgrade to -current could
just comment out the assertion in pfr_update_stats().
ok dhartmei@ henning@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 580a9bb9246..af0c7df28e6 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.174 2003/11/08 00:45:34 mcbride Exp $ */ +/* $OpenBSD: pfvar.h,v 1.175 2003/12/11 13:13:27 cedric Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -725,6 +725,9 @@ struct pf_pdesc { #endif /* INET6 */ void *any; } hdr; + struct pf_addr baddr; /* address before translation */ + struct pf_addr naddr; /* address after translation */ + struct pf_rule *nat_rule; /* nat/rdr rule applied to packet */ struct pf_addr *src; struct pf_addr *dst; u_int16_t *ip_sum; |