summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_dummynet.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2000-02-11 13:23:14 +0000
committerluigi <luigi@FreeBSD.org>2000-02-11 13:23:14 +0000
commit61618b16201aa7b35c598a15b49158a2f2434a5f (patch)
tree550acc6bf2a4d8f8e3170a8857d121efd2608f27 /sys/netinet/ip_dummynet.c
parentfe933b4c21118442b8dc9ea8cd5ca47e3d4ad498 (diff)
downloadFreeBSD-src-61618b16201aa7b35c598a15b49158a2f2434a5f.zip
FreeBSD-src-61618b16201aa7b35c598a15b49158a2f2434a5f.tar.gz
Forgot one line: don't try to match flags when looking for a flow.
Approved-by: jordan
Diffstat (limited to 'sys/netinet/ip_dummynet.c')
-rw-r--r--sys/netinet/ip_dummynet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c
index be409a9..c86a052 100644
--- a/sys/netinet/ip_dummynet.c
+++ b/sys/netinet/ip_dummynet.c
@@ -467,6 +467,7 @@ find_queue(struct dn_pipe *pipe)
last_pkt.dst_port &= pipe->flow_mask.dst_port ;
last_pkt.src_port &= pipe->flow_mask.src_port ;
last_pkt.proto &= pipe->flow_mask.proto ;
+ last_pkt.flags = 0 ; /* we don't care about this one */
/* then, hash function */
i = ( (last_pkt.dst_ip) & 0xffff ) ^
( (last_pkt.dst_ip >> 15) & 0xffff ) ^
OpenPOWER on IntegriCloud