mobile-shell / mosh

Mobile Shell
https://mosh.org
GNU General Public License v3.0
12.69k stars 741 forks source link

Compile in port range #1296

Closed AlexRFox closed 1 year ago

AlexRFox commented 1 year ago

I made this for myself, and figured I'd put it in a PR in case it's helpful for other people too. It adds --with-port-low and --with-port-high to ./configure so that you can compile in a different default range.

./configure --with-port-low=51001 --with-port-high=51999

Will change it to search 51001-51999 instead of the default, 60001-60999.

achernya commented 1 year ago

Unfortunately this PR would conflict with our plans in #365 and #431. Thanks for sharing your contribution!