From a7bdc75a72e51d615fb13cdc38b94ae647465403 Mon Sep 17 00:00:00 2001 From: tschettervictor Date: Sat, 13 Dec 2025 21:24:13 -0700 Subject: [PATCH] make sure to export ips --- usr/local/share/bastille/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/common.sh b/usr/local/share/bastille/common.sh index c6b0290c..5b79a8fa 100644 --- a/usr/local/share/bastille/common.sh +++ b/usr/local/share/bastille/common.sh @@ -363,8 +363,8 @@ validate_ip() { export IP6_ADDR="${ip6}" elif [ "${ip}" = "inherit" ] || [ "${ip}" = "ip_hostname" ] || [ "${ip}" = "0.0.0.0" ] || [ "${ip}" = "DHCP" ] || [ "${ip}" = "SYNCDHCP" ]; then info "\nValid IP: ${ip}" - IP4_ADDR="${ip}" - IP6_ADDR="${ip}" + export IP4_ADDR="${ip}" + export IP6_ADDR="${ip}" elif [ -n "${ip4}" ]; then if [ "${vnet_jail}" -eq 1 ]; then if [ -z "${subnet}" ]; then