summaryrefslogtreecommitdiffstats
path: root/src/core/loopback-setup.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-15 10:49:53 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-16 11:42:23 +0200
commit8190a388a6c6755893b818b2e57289b22d3090f8 (patch)
tree5235c00c78e1cc40e30ebd14a7acd5f903f4c6b8 /src/core/loopback-setup.c
parentsd-netlink: add functions which manage sd_netlink_slot object (diff)
downloadsystemd-8190a388a6c6755893b818b2e57289b22d3090f8.tar.xz
systemd-8190a388a6c6755893b818b2e57289b22d3090f8.zip
sd-netlink: make sd_netlink_slot take its description
Diffstat (limited to 'src/core/loopback-setup.c')
-rw-r--r--src/core/loopback-setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/loopback-setup.c b/src/core/loopback-setup.c
index d0585158c5..f613db83ce 100644
--- a/src/core/loopback-setup.c
+++ b/src/core/loopback-setup.c
@@ -53,7 +53,7 @@ static int start_loopback(sd_netlink *rtnl, struct state *s) {
if (r < 0)
return r;
- r = sd_netlink_call_async(rtnl, NULL, req, generic_handler, NULL, s, LOOPBACK_SETUP_TIMEOUT_USEC);
+ r = sd_netlink_call_async(rtnl, NULL, req, generic_handler, NULL, s, LOOPBACK_SETUP_TIMEOUT_USEC, "systemd-start-loopback");
if (r < 0)
return r;
@@ -88,7 +88,7 @@ static int add_ipv4_address(sd_netlink *rtnl, struct state *s) {
if (r < 0)
return r;
- r = sd_netlink_call_async(rtnl, NULL, req, generic_handler, NULL, s, USEC_INFINITY);
+ r = sd_netlink_call_async(rtnl, NULL, req, generic_handler, NULL, s, USEC_INFINITY, "systemd-loopback-ipv4");
if (r < 0)
return r;
@@ -123,7 +123,7 @@ static int add_ipv6_address(sd_netlink *rtnl, struct state *s) {
if (r < 0)
return r;
- r = sd_netlink_call_async(rtnl, NULL, req, generic_handler, NULL, s, USEC_INFINITY);
+ r = sd_netlink_call_async(rtnl, NULL, req, generic_handler, NULL, s, USEC_INFINITY, "systemd-loopback-ipv6");
if (r < 0)
return r;