diff options
Diffstat (limited to 'src/libsystemd-rtnl/rtnl-util.c')
-rw-r--r-- | src/libsystemd-rtnl/rtnl-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-rtnl/rtnl-util.c b/src/libsystemd-rtnl/rtnl-util.c index 9707aa04a6..d40858a63b 100644 --- a/src/libsystemd-rtnl/rtnl-util.c +++ b/src/libsystemd-rtnl/rtnl-util.c @@ -42,7 +42,7 @@ int rtnl_set_link_name(sd_rtnl *rtnl, int ifindex, const char *name) { if (r < 0) return r; - r = sd_rtnl_send_with_reply_and_block(rtnl, message, 0, NULL); + r = sd_rtnl_call(rtnl, message, 0, NULL); if (r < 0) return r; @@ -81,7 +81,7 @@ int rtnl_set_link_properties(sd_rtnl *rtnl, int ifindex, const struct ether_addr } if (need_update) { - r = sd_rtnl_send_with_reply_and_block(rtnl, message, 0, NULL); + r = sd_rtnl_call(rtnl, message, 0, NULL); if (r < 0) return r; } |