]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: replace FRA_IFNAME -> FRA_IIFNAME
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Sep 2020 20:05:08 +0000 (05:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Sep 2020 09:57:07 +0000 (18:57 +0900)
No functional change, as FRA_IFNAME is an alias of FRA_IIFNAME.

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

index 69608e9e48370343e13b0e341291138ddab2ef4d..3b95ea76b09f813e187683f3ddb5d7a4a32fa212 100644 (file)
@@ -547,9 +547,9 @@ int routing_policy_rule_configure(RoutingPolicyRule *rule, Link *link, link_netl
         }
 
         if (rule->iif) {
-                r = sd_netlink_message_append_string(m, FRA_IFNAME, rule->iif);
+                r = sd_netlink_message_append_string(m, FRA_IIFNAME, rule->iif);
                 if (r < 0)
-                        return log_link_error_errno(link, r, "Could not append FRA_IFNAME attribute: %m");
+                        return log_link_error_errno(link, r, "Could not append FRA_IIFNAME attribute: %m");
         }
 
         if (rule->oif) {