mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-25 23:10:33 +01:00
network: Exit on VLAN added
This commit is contained in:
@@ -446,6 +446,7 @@ case "${ACTION}" in
|
||||
error_exit "Interface is already added: \"${INTERFACE}\""
|
||||
elif { [ "${VNET_JAIL}" -eq 1 ] || [ "${BRIDGE_VNET_JAIL}" -eq 1 ]; } && [ -n "${VLAN_ID}" ]; then
|
||||
add_vlan "${TARGET}" "${INTERFACE}" "${IP}" "${VLAN_ID}"
|
||||
exit 0
|
||||
fi
|
||||
if [ -z "${IP}" ] || [ "${IP}" = "0.0.0.0" ]; then
|
||||
IP="SYNCDHCP"
|
||||
|
||||
Reference in New Issue
Block a user