From a38917cb9bb94c70c56e2996ecb10f3f33cfd5ef Mon Sep 17 00:00:00 2001 From: import this <97586125+serinko@users.noreply.github.com> Date: Thu, 13 Nov 2025 16:22:34 +0000 Subject: [PATCH] address comments Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- scripts/nym-node-setup/network-tunnel-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/nym-node-setup/network-tunnel-manager.sh b/scripts/nym-node-setup/network-tunnel-manager.sh index 72c891e791..0e1cf0062c 100644 --- a/scripts/nym-node-setup/network-tunnel-manager.sh +++ b/scripts/nym-node-setup/network-tunnel-manager.sh @@ -181,8 +181,8 @@ remove_duplicate_rules() { rest=$(echo "$cleaned" | cut -d' ' -f2-) # try exact delete first - if iptables -t filter -C "$chain" $rest 2>/dev/null; then - iptables -t filter -D "$chain" $rest && continue + if iptables -t filter -C "$chain" "$rest" 2>/dev/null; then + iptables -t filter -D "$chain" "$rest" && continue fi # fallback: find exact match textually in iptables -S