aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2006-10-11 13:28:37 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2006-10-11 13:28:37 +0000
commit11e685579fb5b03551fc1520dad7b1d191a32802 (patch)
tree2fb38d1ab5981eda87ee262b77112af53e5485f4
parent3b9c29973042bd276cdde06fe7beed3da6c1d88c (diff)
Notes
-rw-r--r--sys/netgraph/netflow/netflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/netflow/netflow.c b/sys/netgraph/netflow/netflow.c
index a2fcec647f4d..efb31d02e585 100644
--- a/sys/netgraph/netflow/netflow.c
+++ b/sys/netgraph/netflow/netflow.c
@@ -60,7 +60,7 @@ static const char rcs_id[] =
#define FULL_HASH(addr1, addr2, port1, port2) \
(((addr1 ^ (addr1 >> 16) ^ \
htons(addr2 ^ (addr2 >> 16))) ^ \
- srcport ^ htons(dstport)) & \
+ port1 ^ htons(port2)) & \
(NBUCKETS - 1))
/* This hash is for all other IP packets. */