SIGN IN SIGN UP

Allow selecting a device from IP without port

Since the previous commit, if a serial is given via -s/--serial (either
a real USB serial or an IP:port), a device is selected if its serial
matches exactly.

In addition, if the user pass an IP without a port, then select any
device with this IP, regardless of the port (so that "192.168.1.1"
matches any "192.168.1.1:port"). This is also the default behavior of
adb.

PR #3005 <https://github.com/Genymobile/scrcpy/pull/3005>
R
Romain Vimont committed
0a619dc9efa358c03372e08192bda075ecbeb0a6
Parent: 4692d13