chiark / gitweb /
bus: always create --user bus when kdbus is active
[elogind.git] / src / network / networkd-manager.c
index 73e0c87f34888251783c9a4ce80510f458cda0b8..07552063ecd50ea210fb28db067270cfbbfc3d1b 100644 (file)
@@ -247,9 +247,12 @@ static int manager_rtnl_process_link(sd_rtnl *rtnl, sd_rtnl_message *message, vo
         if (!link)
                 return 0;
 
-        r = link_update(link, message);
-        if (r < 0)
-                return 0;
+        /* only track the status of links we want to manage */
+        if (link->network) {
+                r = link_update(link, message);
+                if (r < 0)
+                        return 0;
+        }
 
         return 1;
 }