summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-07-01 19:26:01 -0400
committerDaniel Mack <github@zonque.org>2015-07-01 19:26:01 -0400
commit138879ccad87148cc5d805471183789a6ad688c6 (patch)
tree67991a36b23a7f55157ee6b0a1c31c502605160b /src/network/networkd-link.c
parentc9b9e8e9e2fa14fc3d4dd93240eb7d0b3df8732e (diff)
parent62e2d5bbabf0e6a5a262e9e1bed184552d98b0d9 (diff)
Merge pull request #409 from teg/networkd-enslave-segfault
fix segfault when cancelling enslaving of links by netdevs
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 16243a5352..dff81a5cf0 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1360,8 +1360,7 @@ static int link_joined(Link *link) {
return link_enter_set_addresses(link);
}
-static int netdev_join_handler(sd_netlink *rtnl, sd_netlink_message *m,
- void *userdata) {
+static int netdev_join_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata) {
_cleanup_link_unref_ Link *link = userdata;
int r;