From 3eb7134ff66177d719d4fef294abab7db7e52ad4 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Thu, 13 Apr 2023 01:09:05 -0600 Subject: [PATCH] Update subnet-down --- tinc/subnet-down | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinc/subnet-down b/tinc/subnet-down index 180f6a3..28fe51d 100644 --- a/tinc/subnet-down +++ b/tinc/subnet-down @@ -10,7 +10,7 @@ if [ -z "$nonMACChars" ]; then rm -f /tmp/tinc/peer/$NODE/mac/$SUBNET if echo $arpEntries | grep -q -E "at $SUBNET "; then - echo $arpEntries | grep -E "at 0?*$SUBNET0?* " | sed -r 's/^.+\((.+)\).+$/\1/g' | xargs -n 1 -I {} echo "[ARP] Removing {} from the table..." + echo $arpEntries | grep -E "at 0?*$SUBNET0?* " | sed -r 's/^.+\((.+)\).+$/\1/g' | xargs -n1 -I {} echo "[ARP] Removing {} from the table..." echo $arpEntries | grep -E "at 0?*$SUBNET0?* " | sed -r 's/^.+\((.+)\).+$/\1/g' | xargs -n1 arp -d fi else