This commit is contained in:
Michel Roegl-Brunner 2025-03-11 16:27:16 +01:00
parent 9f51fecbad
commit 4aa103c5ae

View File

@ -723,7 +723,7 @@ advanced_settings() {
if IP6GW=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --inputbox "Enter ipv6 Gateway" 8 58 --title "Enter ipv6 Gateway" 3>&1 1>&2 2>&3); then
if [ -z $IP6GW ]; then
IPv6GW=""
echo -e "${GATEWAY}${BOLD}${DGN}IPv6 Gateway: ${BGN}$IP6GW${CL}"
echo -e "${GATEWAY}${BOLD}${DGN}IPv6 Gateway: ${BGN}SLAAC${CL}"
else
IPv6GW=",gw6=$IP6GW"
echo -e "${GATEWAY}${BOLD}${DGN}IPv6 Gateway: ${BGN}$IP6GW${CL}"
@ -733,6 +733,7 @@ advanced_settings() {
fi
else
IPv6="auto"
echo -e "${NETWORK}${BOLD}${DGN}IPv6 Address: ${BGN}SLAAC${CL}"
fi
fi
echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}$DISABLEIP6${CL}"