From 8555e14cdaeec8c00d4ac9561f2b8fa15cb0701a Mon Sep 17 00:00:00 2001 From: Manevolent Date: Thu, 13 Apr 2023 01:24:23 -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 ea41116..d1c0fc0 100644 --- a/tinc/subnet-down +++ b/tinc/subnet-down @@ -11,7 +11,7 @@ if [ -z "$nonMACChars" ]; then if echo $arpEntries | grep -q -E "at $SUBNET "; then 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 + echo $arpEntries | grep -E "at 0?*$SUBNET0?* " | sed -r 's/^.+\((.+)\).+$/\1/g' | xargs -n1 -I {} arp -d {} fi else # This subnet is an IP address