diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-06 13:38:13 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-10 14:43:05 +0900 |
commit | 545bab1f0afef57dae233d376035540f2cf7a09b (patch) | |
tree | 1c461260121f91e78495679752694fabb6a7796b /src/network/networkd-address.c | |
parent | 2fea60901da26ac354cde806d8ef8fb5170eec26 (diff) | |
download | systemd-545bab1f0afef57dae233d376035540f2cf7a09b.tar.gz |
sd-netlink: add destroy_callback argument to sd_netlink_call_async()
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r-- | src/network/networkd-address.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index b07196b6b9..45e02c76da 100644 --- a/src/network/networkd-address.c +++ b/src/network/networkd-address.c @@ -453,7 +453,7 @@ 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, 0, NULL); + r = sd_netlink_call_async(link->manager->rtnl, req, callback, NULL, link, 0, NULL); if (r < 0) return log_error_errno(r, "Could not send rtnetlink message: %m"); @@ -631,7 +631,7 @@ int address_configure( if (r < 0) return r; - r = sd_netlink_call_async(link->manager->rtnl, req, callback, link, 0, NULL); + r = sd_netlink_call_async(link->manager->rtnl, req, callback, NULL, link, 0, NULL); if (r < 0) { address_release(address); return log_error_errno(r, "Could not send rtnetlink message: %m"); |