Skip to content

Commit

Permalink
config: missing tcp host argument for server mode
Browse files Browse the repository at this point in the history
Fixes #4479
  • Loading branch information
osy committed Oct 7, 2022
1 parent 709bf0e commit d0b8dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/UTMQemuConfiguration+Arguments.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ import Foundation
case .tcpClient:
f("socket,id=term\(i),port=\(serials[i].tcpPort ?? 1234),host=\(serials[i].tcpHostAddress ?? "example.com"),server=off")
case .tcpServer:
f("socket,id=term\(i),port=\(serials[i].tcpPort ?? 1234),server=on,wait=\((serials[i].isWaitForConnection ?? false) ? "on" : "off")")
f("socket,id=term\(i),port=\(serials[i].tcpPort ?? 1234),host=0.0.0.0,server=on,wait=\((serials[i].isWaitForConnection ?? false) ? "on" : "off")")
#if os(macOS)
case .ptty:
f("pty,id=term\(i)")
Expand Down

0 comments on commit d0b8dad

Please sign in to comment.