From a90e29244dfa1ed43ddad898928a18b715e5fdbb Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 20 Jun 2025 12:23:45 -0600 Subject: [PATCH] rdr: Fix () --- usr/local/share/bastille/rdr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/rdr.sh b/usr/local/share/bastille/rdr.sh index 80122b5e..a1bcb304 100644 --- a/usr/local/share/bastille/rdr.sh +++ b/usr/local/share/bastille/rdr.sh @@ -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