diff --git a/usr/local/share/bastille/network.sh b/usr/local/share/bastille/network.sh index f2fde9e0..2a84f7cb 100644 --- a/usr/local/share/bastille/network.sh +++ b/usr/local/share/bastille/network.sh @@ -124,8 +124,10 @@ ACTION="${2}" INTERFACE="${3}" if [ "${NO_IP}" -eq 0 ]; then IP="${4}" -else +elif [ "${NO_IP}" -eq 1] && [ -z "${4}" ]; then IP="" +else + usage fi if [ "${ACTION}" = "add" ]; then