From d6cbbf2ac6dd683cb8c256c86bafc96ef5992e7c Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:42:52 -0700 Subject: [PATCH] quick 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 c966c022..5699f4c2 100644 --- a/usr/local/share/bastille/rdr.sh +++ b/usr/local/share/bastille/rdr.sh @@ -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