On Wed, Aug 25, 2021 at 10:15 PM Sergey Ponomarev <[email protected]> wrote:
> The bb_lookup_port() function may resolve port by its name.
> But for FTP or TFTP no any names are expected because they work only with one 
> protocol.
> E.g. it doesn't make any sense to execute ftpget -P http.

This change does not improve anything, right?
Only removes some possibilities.

> All other programs like traceroute are just use xatou16().

# busybox traceroute -p ntp -n 192.168.1.1
traceroute: invalid number 'ntp'

But it looks like it should do this. Fedora:

# traceroute -p ntp -n 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 60 byte packets
 1  192.168.1.1  3.244 ms  3.208 ms  3.194 ms

# traceroute --version
Modern traceroute for Linux, version 2.1.0
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to