]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: parse the rvalue, not the option name
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Nov 2017 11:21:19 +0000 (11:21 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Nov 2017 08:25:38 +0000 (09:25 +0100)
:(

src/network/networkd-routing-policy-rule.c

index c8eba2298da72cb85de478c720e19a148c4690f3..09c1015f2cad99cf3cf5cf30e0f1c420cc248f99 100644 (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;