summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/rtnl-util.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-09 11:15:37 +0200
committerTom Gundersen <teg@jklm.no>2014-09-09 15:30:10 +0200
commit4c83d994566718043e61e568cc214bdc4587f869 (patch)
tree19d720648aee971cc588171d887e1bd4dff889db /src/libsystemd/sd-rtnl/rtnl-util.h
parentb081b27e1433cdc7ac72b25ae8b4db887d79187f (diff)
udev: event - keep one rtnl per worker, rather than per event
Creating the rtnl context is cheap, but freeing it may not be, due to synchronous close(). Also drop some excessive logging. We now log about the changing ifname exactly once.
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-util.h')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-util.h b/src/libsystemd/sd-rtnl/rtnl-util.h
index 2963f02d3e..94af3b1720 100644
--- a/src/libsystemd/sd-rtnl/rtnl-util.h
+++ b/src/libsystemd/sd-rtnl/rtnl-util.h
@@ -34,7 +34,7 @@ bool rtnl_message_type_is_link(uint16_t type);
bool rtnl_message_type_is_addr(uint16_t type);
bool rtnl_message_type_is_route(uint16_t type);
-int rtnl_set_link_name(sd_rtnl *rtnl, int ifindex, const char *name);
+int rtnl_set_link_name(sd_rtnl **rtnl, int ifindex, const char *name);
int rtnl_set_link_properties(sd_rtnl *rtnl, int ifindex, const char *alias, const struct ether_addr *mac, unsigned mtu);
int rtnl_log_parse_error(int r);