]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: fix copy-pasto in error message
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 14 May 2016 20:47:59 +0000 (16:47 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 14 May 2016 20:47:59 +0000 (16:47 -0400)
src/network/networkd-route.c

index ab4a94f41a5c70e6d26f41c8b7de5d81b225f214..2b3970289e0c251f838b6b4c6929915dc4abcd73 100644 (file)
@@ -369,7 +369,7 @@ int route_remove(Route *route, Link *link,
                 else if (route->family == AF_INET6)
                         r = sd_netlink_message_append_in6_addr(req, RTA_SRC, &route->src.in6);
                 if (r < 0)
-                        return log_error_errno(r, "Could not append RTA_DST attribute: %m");
+                        return log_error_errno(r, "Could not append RTA_SRC attribute: %m");
 
                 r = sd_rtnl_message_route_set_src_prefixlen(req, route->src_prefixlen);
                 if (r < 0)