summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-15 16:06:12 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-15 18:10:04 +0900
commitee38400bbaf04ff093c5450a554d5cc70face217 (patch)
tree1738883da07e132ee0758ad0bdcb5403c6e9ca80 /src/network/networkd-address.c
parent0c40d13a07ccd71070a8a69329752170aa2cc4b7 (diff)
downloadsystemd-ee38400bbaf04ff093c5450a554d5cc70face217.tar.gz
sd-netlink: introduce sd_netlink_slot
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r--src/network/networkd-address.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index 3ffd3fe4ab..f2fae866e2 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -453,8 +453,8 @@ int address_remove(
if (r < 0)
return log_error_errno(r, "Could not append IFA_LOCAL attribute: %m");
- r = sd_netlink_call_async(link->manager->rtnl, req, callback,
- link_netlink_destroy_callback, link, 0, NULL);
+ r = sd_netlink_call_async(link->manager->rtnl, NULL, req, callback,
+ link_netlink_destroy_callback, link, 0);
if (r < 0)
return log_error_errno(r, "Could not send rtnetlink message: %m");
@@ -632,8 +632,8 @@ int address_configure(
if (r < 0)
return r;
- r = sd_netlink_call_async(link->manager->rtnl, req, callback,
- link_netlink_destroy_callback, link, 0, NULL);
+ r = sd_netlink_call_async(link->manager->rtnl, NULL, req, callback,
+ link_netlink_destroy_callback, link, 0);
if (r < 0) {
address_release(address);
return log_error_errno(r, "Could not send rtnetlink message: %m");