mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-25 10:14:59 +01:00
rdr: Fix ()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user