mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-08-28 11:56:03 +00:00
fix: Network mode shown for DHCP mode (#1324)
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user