mirror of
https://github.com/utmapp/UTM.git
synced 2026-10-12 02:24:01 +00:00
config(qemu): correct port forward host address
QEMU implicitly uses 0.0.0.0 as the host address when left blank so it was a mistake to show a default as 127.0.0.1 Fixes #7132
This commit is contained in:
@@ -26,7 +26,7 @@ struct VMConfigPortForwardForm: View {
|
||||
.help("Guest Address")
|
||||
NumberTextField("Guest Port", number: $forward.guestPort, prompt: "1234")
|
||||
.help("Guest Port")
|
||||
DefaultTextField("Host Address", text: $forward.hostAddress.bound, prompt: "127.0.0.1")
|
||||
DefaultTextField("Host Address", text: $forward.hostAddress.bound, prompt: "0.0.0.0")
|
||||
.help("Host Address")
|
||||
NumberTextField("Host Port", number: $forward.hostPort, prompt: "1234")
|
||||
.help("Host Port")
|
||||
|
||||
Reference in New Issue
Block a user