interfaces: annotate future plans

This commit is contained in:
Franco Fichtner 2024-09-12 09:49:56 +02:00
parent b6e2bb49d4
commit 3dd3c9fe6f
2 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,7 @@ interfaces_restart_by_device(false, array_merge($greifs, $gififs));
ifgroup_setup();
system_routing_configure(false, $interface, true, 'inet');
filter_configure_sync();
if (is_ipaddr($cacheip) && $ip != $cacheip) {
@ -114,5 +115,6 @@ if (is_ipaddr($cacheip) && $ip != $cacheip) {
/* register IP change not before this point as basic connectivity is needed */
@file_put_contents($cacheip_file, $ip . PHP_EOL);
/* XXX after 25.1 drop the "_map" suffix again */
plugins_configure('vpn_map', false, [$interface, 'inet']);
plugins_configure('newwanip_map', false, [$interface, 'inet']);

View File

@ -125,5 +125,7 @@ foreach ($interfaces as $interface) {
}
filter_configure_sync();
/* XXX after 25.1 drop the "_map" suffix again */
plugins_configure('vpn_map', false, [join(',', $interfaces), 'inet6']);
plugins_configure('newwanip_map', false, [join(',', $interfaces), 'inet6']);