mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 00:40:07 +01:00
fix: Network mode shown for DHCP mode (#1324)
This commit is contained in:
1 parent
3b59bcd284
commit
abd3a1c3df
1 file changed
+3
-3
+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