From de4fb6291c6d317deed3255db6fcd0696ce79266 Mon Sep 17 00:00:00 2001 From: import this <97586125+serinko@users.noreply.github.com> Date: Thu, 13 Nov 2025 16:03:50 +0000 Subject: [PATCH] address comments Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- scripts/nym-node-setup/network-tunnel-manager.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/nym-node-setup/network-tunnel-manager.sh b/scripts/nym-node-setup/network-tunnel-manager.sh index 6e0a0e4bff..a2c160a587 100644 --- a/scripts/nym-node-setup/network-tunnel-manager.sh +++ b/scripts/nym-node-setup/network-tunnel-manager.sh @@ -170,10 +170,13 @@ remove_duplicate_rules() { for ((i=1; i/dev/null; then - iptables -t filter -D "$cleaned" && continue + if iptables -t filter -C "$chain" $rest 2>/dev/null; then + iptables -t filter -D "$chain" $rest && continue fi # fallback: locate rule in iptables -S