summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-07-04 08:24:52 +0000
committermarkus <markus@openbsd.org>2003-07-04 08:24:52 +0000
commitf42d2326b96d162f9f43f94c76511c90c02f7069 (patch)
treee0d582c66f733bd894f9ba33a1b3f8db642223c5
parentoff byone; netbsd pr 22012 (diff)
downloadwireguard-openbsd-f42d2326b96d162f9f43f94c76511c90c02f7069.tar.xz
wireguard-openbsd-f42d2326b96d162f9f43f94c76511c90c02f7069.zip
bad redundant copy; ok daniel
-rw-r--r--sys/net/pf.c3
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);