--- a/root/usr/share/ucode/fw4.uc
+++ b/root/usr/share/ucode/fw4.uc
@@ -2045,8 +2045,8 @@ return {
 					});
 				}
 
-				if (net.physdev && !e.invert)
-					push(related_physdevs, net.physdev);
+				if (net.up && net.device && !e.invert)
+					push(related_physdevs, net.device);
 
 				push(related_subnets, ...(net.ipaddrs || []));
 			}
