networkd: parse the rvalue, not the option name

:(
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-11-28 09:25:38 +01:00
parent 458d8ae302
commit e4aca57df8
+1 -1
View File
@@ -996,7 +996,7 @@ int routing_policy_load_rules(const char *state_file, Set **rules) {
}
} else if (streq(a, "fwmark")) {
r = parse_fwmark_fwmask(a, &rule->fwmark, &rule->fwmask);
r = parse_fwmark_fwmask(b, &rule->fwmark, &rule->fwmask);
if (r < 0) {
log_error_errno(r, "Failed to parse RPDB rule firewall mark or mask, ignoring: %s", a);
continue;