From c6a5678382539c0db9694d80bb0fd65d3812dbc8 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 23 Aug 2024 21:46:07 +0200 Subject: [PATCH] interfaces: convert to newwanip_map One of the nice things is that we don't have to do the global loop but get all of the information across at once even if individual listeners will still loop over it if necessary. --- src/www/interfaces.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/www/interfaces.php b/src/www/interfaces.php index e233edcf8..75f3bee6e 100644 --- a/src/www/interfaces.php +++ b/src/www/interfaces.php @@ -576,9 +576,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { system_routing_configure(); filter_configure(); - foreach ($toapplylist as $ifapply => $ifcfgo) { - plugins_configure('newwanip', false, [$ifapply]); - } + plugins_configure('newwanip_map', false, [join(',', array_keys($toapplylist))]); rrd_configure(); }