]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/networkd-route.c
sd-netlink: make sd_netlink_slot take its description
[thirdparty/systemd.git] / src / network / networkd-route.c
index 591fae6e76b015d12e0f503995935be5b21cee2e..33389676cf195ad77dade35a59b6009f1bd3a789 100644 (file)
@@ -440,7 +440,7 @@ int route_remove(Route *route, Link *link,
         }
 
         r = sd_netlink_call_async(link->manager->rtnl, NULL, req, callback,
-                                  link_netlink_destroy_callback, link, 0);
+                                  link_netlink_destroy_callback, link, 0, __func__);
         if (r < 0)
                 return log_error_errno(r, "Could not send rtnetlink message: %m");
 
@@ -621,7 +621,7 @@ int route_configure(
                 return log_error_errno(r, "Could not append RTA_METRICS attribute: %m");
 
         r = sd_netlink_call_async(link->manager->rtnl, NULL, req, callback,
-                                  link_netlink_destroy_callback, link, 0);
+                                  link_netlink_destroy_callback, link, 0, __func__);
         if (r < 0)
                 return log_error_errno(r, "Could not send rtnetlink message: %m");