rdr: Fix ()

This commit is contained in:
tschettervictor
2025-06-20 12:23:45 -06:00
committed by GitHub
parent a03fd2e007
commit a90e29244d

View File

@@ -272,7 +272,7 @@ while [ "$#" -gt 0 ]; do
fi
;;
-s|--source)
if echo "${2}" | grep -Eoq "([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|.*:.*"; then
if echo "${2}" | grep -Eoq "([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|.*:.*)"; then
check_rdr_ip_validity "${2}"
RDR_SRC="${2}"
else