Skip to content

Commit

Permalink
Merge pull request #773 from kingsey/dev
Browse files Browse the repository at this point in the history
修复 missing ] 报错
  • Loading branch information
juewuy committed Sep 21, 2024
2 parents f2c8835 + 88a3340 commit 27539f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ start_nftables() { #nftables配置总入口
start_nft_route prerouting_vm prerouting nat -100
}
#屏蔽QUIC
[ "$quic_rj" = '已启用' -a "$lan_proxy" = true && {
[ "$quic_rj" = '已启用' -a "$lan_proxy" = true ] && {
[ "$redir_mod" = "Tproxy模式" ] && {
nft add chain inet shellcrash quic_rj { type filter hook input priority 0 \; }
[ -n "$CN_IP" ] && nft add rule inet shellcrash quic_rj ip daddr {$CN_IP} return
Expand Down

0 comments on commit 27539f1

Please sign in to comment.