diff options
author | Tom Gundersen <teg@jklm.no> | 2013-11-11 18:55:34 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-11-13 19:48:44 +0100 |
commit | fe4824e065765f4536c84916694bb050c4a5d0af (patch) | |
tree | 5ad97e681bb0b09027902b61b6135c0846eaea69 /src/network | |
parent | 38fdcbedd18e48f32a7ddcf99c7b97424a73b413 (diff) |
rtnl: rename rtnl_bus_send_with_reply_and_block() to rtnl_bus_call()
Follow the equivalent rename in sd-bus to stay as similar as possible.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-address.c | 2 | ||||
-rw-r--r-- | src/network/networkd-link.c | 2 | ||||
-rw-r--r-- | src/network/networkd-route.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index 9a7106e834..e02b1df864 100644 --- a/src/network/networkd-address.c +++ b/src/network/networkd-address.c @@ -98,7 +98,7 @@ int address_configure(Manager *manager, Address *address, Link *link) { } } - r = sd_rtnl_send_with_reply_and_block(manager->rtnl, req, 0, NULL); + r = sd_rtnl_call(manager->rtnl, req, 0, NULL); if (r < 0) { log_error("Could not configure address: %s", strerror(-r)); return r != -EEXIST ? r : 0; diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 486d4de2c7..085b8db2f8 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -107,7 +107,7 @@ int link_up(Manager *manager, Link *link) { return r; } - r = sd_rtnl_send_with_reply_and_block(manager->rtnl, req, 0, NULL); + r = sd_rtnl_call(manager->rtnl, req, 0, NULL); if (r < 0) { log_error("Could not UP link: %s", strerror(-r)); return r; diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c index 918a1d0191..31586165c2 100644 --- a/src/network/networkd-route.c +++ b/src/network/networkd-route.c @@ -83,7 +83,7 @@ int route_configure(Manager *manager, Route *route, Link *link) { return r; } - r = sd_rtnl_send_with_reply_and_block(manager->rtnl, req, 0, NULL); + r = sd_rtnl_call(manager->rtnl, req, 0, NULL); if (r < 0) { log_error("Could not configure route: %s", strerror(-r)); return r; |