Allow server to bind an OS-selected UDP port with -p 0.
It looks like Mosh used to be able to do this but the capability was
lost when port ranges were added in 141ec23.
This commit is contained in:
+2
-1
@@ -70,7 +70,8 @@ IP address of the local interface to bind (for multihomed hosts)
|
||||
|
||||
.TP
|
||||
.B \-p \fIPORT\fP[:\fIPORT2\fP]
|
||||
UDP port number or port-range to bind
|
||||
UDP port number or port-range to bind. \fB\-p 0\fP will let the
|
||||
operating system pick an available UDP port.
|
||||
|
||||
.TP
|
||||
.B \-c \fICOLORS\fP
|
||||
|
||||
Reference in New Issue
Block a user