h69k/package/network/config/firewall4/patches/002-fix-adding-offloading-device.patch

14 lines
342 B
Diff
Raw Normal View History

2024-09-29 14:35:28 +00:00
--- a/root/usr/share/ucode/fw4.uc
+++ b/root/usr/share/ucode/fw4.uc
@@ -2101,8 +2101,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 || []));
}