1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-27 13:57:26 +03:00

networkd: parse the rvalue, not the option name

:(
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-11-27 11:21:19 +00:00
parent 458d8ae302
commit e4aca57df8

@ -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;