From: Yu Watanabe Date: Thu, 1 Nov 2018 14:40:56 +0000 (+0900) Subject: network: fix hash function for routing policy rule X-Git-Tag: v240~424^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d7febd002fbfcbc570339ff7465c66556d44f69;p=thirdparty%2Fsystemd.git network: fix hash function for routing policy rule --- diff --git a/src/network/networkd-routing-policy-rule.c b/src/network/networkd-routing-policy-rule.c index 508555e0997..02440cd2823 100644 --- a/src/network/networkd-routing-policy-rule.c +++ b/src/network/networkd-routing-policy-rule.c @@ -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: