lib/flow: Fix flow_hash_5tuple().
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 25 Mar 2014 00:34:48 +0000 (17:34 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 25 Mar 2014 00:34:48 +0000 (17:34 -0700)
commit5382a3cf9be0632c83cff17f08c9b46036a8ad88
tree03b8016be659df4cbd145aeb1001eb0b2bc683bc
parentfc3431c6a09e625343dd39b57b86839af90a08fd
lib/flow: Fix flow_hash_5tuple().

First part of the hash was discarded as basis was used too late.

Also be explicit about the input type expected by mhash_add().

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Alex Wang <alexw@nicira.com>
lib/flow.c