Update subnet-down

This commit is contained in:
Manevolent 2023-04-13 00:10:04 -06:00 committed by GitHub
parent 0b556e223c
commit e5e9b2fae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,8 @@ else
address=`echo "$SUBNET" | cut -d '/' -f 1`
rm -f /tmp/tinc_peer_mac_$NODE_$address
if arp -an | grep -q "\($address\)"; then
echo "Unmapping $addresss
echo "[ARP] Unmapping $addresss from ARP table"
arp -d $address
fi
fi
fi