chiark / gitweb /
sd-rtnl: link - allow setting the change mask
[elogind.git] / src / network / networkd-link.c
index f1c2889ba4992cca66bb28c922705a53c529b9e7..2fa77f15ffb961665744b56e83fa3d562276482c 100644 (file)
@@ -713,7 +713,7 @@ static int link_up(Link *link) {
                 return r;
         }
 
-        r = sd_rtnl_message_link_set_flags(req, IFF_UP);
+        r = sd_rtnl_message_link_set_flags(req, IFF_UP, IFF_UP);
         if (r < 0) {
                 log_error_link(link, "Could not set link flags: %s", strerror(-r));
                 return r;