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

This commit is contained in:
Andrey Petelin
2025-10-10 10:38:59 +05:00
committed by divocat
parent d2f0de39d9
commit 8a80df9dc0

View File

@@ -571,7 +571,7 @@ sing_box_configure_outbounds() {
config=$(sing_box_cm_add_direct_outbound "$config" "$SB_DIRECT_OUTBOUND_TAG") 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() { configure_outbound_handler() {