interfaces: for igb vlans it seems they are always up even if the parent is down

PR: https://forum.opnsense.org/index.php?topic=52824.0
This commit is contained in:
Franco Fichtner
2026-10-11 12:05:45 +02:00
parent 5de9cc0dcc
commit 212185a8be
+4 -2
View File
@@ -1365,8 +1365,10 @@ EOD;
/* precaution for post-start 'up' check */
legacy_interface_flags($ifcfg['if'], 'down', false);
/* wait for functional parent (only the first) */
interfaces_device_wait($ports[0], "interface_ppps_configure() waiting threshold exceeded - device {$ports[0]} is still not up");
/* wait for functional parent (only the first port's first parent or the port itself) */
$parents = interface_parent_devices($ports[0]);
$parents[] = $ports[0];
interfaces_device_wait($parents[0], "interface_ppps_configure() waiting threshold exceeded - device {$parents[0]} is still not up");
/* fire up mpd */
mwexecf(