diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-07-04 08:24:53 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-07-04 08:24:53 +0000 |
commit | dd4230caa35e6775e7851d8dd575d4ea3fa35323 (patch) | |
tree | aa9ef920a3284bfd4d51d13f71384599284ee1f3 /sys/net | |
parent | 057fecafc0626ac60cd22b26109d7edd07074ba2 (diff) |
bad redundant copy; ok daniel
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index b7f748edf4a..317e4c9c37b 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.372 2003/06/29 23:37:12 itojun Exp $ */ +/* $OpenBSD: pf.c,v 1.373 2003/07/04 08:24:52 markus Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -2287,7 +2287,6 @@ pf_test_tcp(struct pf_rule **rm, struct pf_state **sm, int direction, s->ext.port = th->th_dport; if (nat != NULL) { PF_ACPY(&s->lan.addr, &baddr, af); - s->lan.addr = baddr; s->lan.port = bport; } else { PF_ACPY(&s->lan.addr, &s->gwy.addr, af); |