From 038c10b27ad7fbb879e678cb003cd0c916df7c25 Mon Sep 17 00:00:00 2001 From: gitea-action Date: Sun, 20 Apr 2025 23:00:27 +0800 Subject: [PATCH] nikki: sync upstream last commit: https://github.com/nikkinikki-org/OpenWrt-nikki/commit/1c3471135e202af2dc207ece5df6de30e9b49e12 --- nikki/files/ucode/hijack.ut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nikki/files/ucode/hijack.ut b/nikki/files/ucode/hijack.ut index ece442872..f250a5fd1 100644 --- a/nikki/files/ucode/hijack.ut +++ b/nikki/files/ucode/hijack.ut @@ -139,7 +139,7 @@ table inet nikki { {% if (length(lan_inbound_device) > 0): %} elements = { {% for (let device in lan_inbound_device): %} - {{ device }}, + "{{ device }}", {% endfor %} } {% endif %} @@ -440,7 +440,7 @@ table inet nikki { iifname lo meta l4proto { tcp, udp } meta mark {{ tproxy_fw_mark }} tproxy to :{{ tproxy_port }} counter accept {% endif %} {% if (tcp_mode == 'tun' || udp_mode == 'tun'): %} - iifname {{ tun_device }} meta l4proto { icmp, tcp, udp } counter accept + iifname "{{ tun_device }}" meta l4proto { icmp, tcp, udp } counter accept {% endif %} } {% endif %}