From: Zbigniew Jędrzejewski-Szmek Date: Mon, 27 Nov 2017 11:21:19 +0000 (+0000) Subject: networkd: parse the rvalue, not the option name X-Git-Tag: v236~102^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4aca57df851af6c1bd132dcd7a5d8dd112fe3dc;p=thirdparty%2Fsystemd.git networkd: parse the rvalue, not the option name :( --- diff --git a/src/network/networkd-routing-policy-rule.c b/src/network/networkd-routing-policy-rule.c index c8eba2298da..09c1015f2ca 100644 --- a/src/network/networkd-routing-policy-rule.c +++ b/src/network/networkd-routing-policy-rule.c @@ -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;