network: fix hash function for routing policy rule

This commit is contained in:
Yu Watanabe 2018-11-01 23:40:56 +09:00
parent e6b65ab760
commit 0d7febd002

View file

@ -79,10 +79,10 @@ static void routing_policy_rule_hash_func(const void *b, struct siphash *state)
siphash24_compress(&rule->table, sizeof(rule->table), state);
if (rule->iif)
siphash24_compress(&rule->iif, strlen(rule->iif), state);
siphash24_compress(rule->iif, strlen(rule->iif), state);
if (rule->oif)
siphash24_compress(&rule->oif, strlen(rule->oif), state);
siphash24_compress(rule->oif, strlen(rule->oif), state);
break;
default: