From fa152c3abfd1f7ff2e9f7f3bd671a60d8fa0a738 Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Tue, 14 Oct 2025 20:22:46 +0500 Subject: [PATCH] feat: honor download_lists_via_proxy and use its outbound section as detour tag for rule set --- podkop/files/usr/bin/podkop | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/podkop/files/usr/bin/podkop b/podkop/files/usr/bin/podkop index d3e91c8..01e0db9 100755 --- a/podkop/files/usr/bin/podkop +++ b/podkop/files/usr/bin/podkop @@ -1364,7 +1364,10 @@ get_service_proxy_address() { get_download_detour_tag() { config_get_bool download_lists_via_proxy "settings" "download_lists_via_proxy" 0 if [ "$download_lists_via_proxy" -eq 1 ]; then - echo "$SB_MAIN_OUTBOUND_TAG" + local download_lists_via_proxy_section section_outbound_tag + config_get download_lists_via_proxy_section "settings" "download_lists_via_proxy_section" + section_outbound_tag="$(get_outbound_tag_by_section "$download_lists_via_proxy_section")" + echo "$section_outbound_tag" else echo "" fi