Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2102,10 +2102,12 @@ showGuestInfo() {

local mode="${NETWORK,,}"

if isNAT; then
mode="NAT"
elif enabled "$DHCP"; then
local mode="${NETWORK,,}"

if enabled "$DHCP"; then
mode="DHCP"
elif isNAT; then
mode="NAT"
elif isUserMode; then
mode="User ($mode)"
elif [ -z "$mode" ]; then
Expand Down