aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2018-10-24 00:19:44 +0000
committerKristof Provost <kp@FreeBSD.org>2018-10-24 00:19:44 +0000
commit13d640d3766055d6f58e829495ae451d3d7041e8 (patch)
tree53ea0bed859eddce3cc4349397dffb1c799212b7
parente9b1dc32c9bd2ebae5f9e140bfa0e0321bc366b5 (diff)
Notes
-rw-r--r--sys/netpfil/pf/pf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
index 1c8a9e28568e..1ec7df96b43f 100644
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -3429,7 +3429,7 @@ pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction,
if (PF_ANEQ(daddr,
&nk->addr[pd->didx], AF_INET6))
- PF_ACPY(saddr, &nk->addr[pd->didx], af);
+ PF_ACPY(daddr, &nk->addr[pd->didx], af);
break;
#endif /* INET */
}