mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 19:46:52 +03:00
refactor: Pass 'section' to config_foreach so outbound handler iterates only the correct sections
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user