summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 8e180b0f0e8..e6a395ab188 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.909 2015/03/18 12:23:15 dlg Exp $ */
+/* $OpenBSD: pf.c,v 1.910 2015/04/08 12:50:21 mikeb Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -6277,7 +6277,7 @@ pf_counters_inc(int action, struct pf_pdesc *pd, struct pf_state *s,
pfr_update_stats(ri->r->dst.addr.p.tbl,
&s->key[(s->direction == PF_IN)]->
addr[(s->direction == PF_IN)],
- pd, ri->r->action, ri->r->src.neg);
+ pd, ri->r->action, ri->r->dst.neg);
}
}
if (r->src.addr.type == PF_ADDR_TABLE)