]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/networkd-routing-policy-rule.c
network: fix hash function for routing policy rule
[thirdparty/systemd.git] / src / network / networkd-routing-policy-rule.c
index 508555e0997e4de074173a30965f50f308c62aaf..02440cd282362bfcfde2349d94199a38a5b36ee1 100644 (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: