Update subnet-down.tmpl
This commit is contained in:
parent
9f43326d8c
commit
422194259c
@ -12,6 +12,6 @@ else
|
|||||||
# This subnet is likely an IP address, remove it from the ARP table
|
# This subnet is likely an IP address, remove it from the ARP table
|
||||||
address=`echo "\$SUBNET" | cut -d '/' -f 1`
|
address=`echo "\$SUBNET" | cut -d '/' -f 1`
|
||||||
echo "Unmapping \$address <=> \$mac from ARP table"
|
echo "Unmapping \$address <=> \$mac from ARP table"
|
||||||
arp -s "\$address"
|
arp -d "\$address"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user