From 8a80df9dc0137ea67ed0651383724e4a3bdb9636 Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Fri, 10 Oct 2025 10:38:59 +0500 Subject: [PATCH] refactor: Pass 'section' to config_foreach so outbound handler iterates only the correct sections --- podkop/files/usr/bin/podkop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podkop/files/usr/bin/podkop b/podkop/files/usr/bin/podkop index ac922f7..0cd2a8f 100755 --- a/podkop/files/usr/bin/podkop +++ b/podkop/files/usr/bin/podkop @@ -571,7 +571,7 @@ sing_box_configure_outbounds() { config=$(sing_box_cm_add_direct_outbound "$config" "$SB_DIRECT_OUTBOUND_TAG") - config_foreach configure_outbound_handler + config_foreach configure_outbound_handler "section" } configure_outbound_handler() {