diff --git a/usr/local/share/bastille/rdr.sh b/usr/local/share/bastille/rdr.sh index 1b25e930..92f6d4ab 100644 --- a/usr/local/share/bastille/rdr.sh +++ b/usr/local/share/bastille/rdr.sh @@ -144,7 +144,7 @@ fi while [ $# -gt 0 ]; do # Check if interface was specified, and use it instead of default - if echo "${1}" | ifconfig | grep -wo "${1}"; then + if ifconfig | grep -wo "${1}"; then IF_NAME="${1}" EXT_IF=ext_if="${1}" shift