refactor: Pass 'section' to config_foreach so outbound handler iterates only the correct sections

This commit is contained in:
Andrey Petelin
2025-10-10 20:14:08 +03:00
committed by divocat
parent fa905c9bfe
commit b02a590c67
+1 -1
View File
@@ -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() {