mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
network: fix hash function for routing policy rule
This commit is contained in:
parent
e6b65ab760
commit
0d7febd002
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user