fix: Network mode shown for DHCP mode (#1324)

This commit is contained in:
Kroese
2026-07-24 12:03:57 +02:00
committed by GitHub
parent 3b59bcd284
commit abd3a1c3df
+3 -3
View File
@@ -2028,10 +2028,10 @@ showGuestInfo() {
local mode="${NETWORK,,}"
if isNAT; then
mode="NAT"
elif enabled "$DHCP"; then
if enabled "$DHCP"; then
mode="DHCP"
elif isNAT; then
mode="NAT"
elif isUserMode; then
mode="User ($mode)"
elif [ -z "$mode" ]; then