quick fix

This commit is contained in:
tschettervictor
2024-12-12 18:42:52 -07:00
committed by GitHub
parent 20a291c689
commit d6cbbf2ac6

View File

@@ -229,7 +229,7 @@ while [ $# -gt 0 ]; do
if [ -z "${2}" ]; then
error_exit "Must specify an interface with [-i|--interface]"
fi
if ifconfig | grep -owq "${1}:"; then
if ifconfig | grep -owq "${2}:"; then
RDR_IF="${2}"
OPTION="1"
shift 2