summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/networkd-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 5ab7aa7d19..664cc07c72 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -871,7 +871,7 @@ static int link_set_mtu(Link *link, uint32_t mtu) {
return r;
}
- link_unref(link);
+ link_ref(link);
return 0;
}