interfaces: do group sync for IPv6 just in case

This commit is contained in:
Franco Fichtner 2025-04-23 10:55:31 +02:00
parent 0deba9c9de
commit f5352f841e

View File

@ -123,6 +123,12 @@ switch (isset($config['system']['ipv6allow']) ? ($config['interfaces'][$interfac
/* linked devices that are assigned need to be reconfigured now */ /* linked devices that are assigned need to be reconfigured now */
interfaces_restart_by_device(false, $auxdevs); interfaces_restart_by_device(false, $auxdevs);
/*
* Interface reconfigure finished here so sync
* firewall groups in case of destroy/create use.
*/
ifgroup_setup();
$interfaces = array_keys(link_interface_to_track6($interface, true)); $interfaces = array_keys(link_interface_to_track6($interface, true));
array_unshift($interfaces, $interface); array_unshift($interfaces, $interface);