Hi! This [1] is a simple diff to ftpd.c. It adds an optional parameter -p. One can specify a port number with -p, and then ftpd(8) will listen on this port instead of the default (which gets looked up from /etc/services).
Man page updated too. Would someone look at it, it works fine here. It's against HEAD but applies clean on 4.4 too. Thanks! Daniel [1] - http://leva.ecentrum.hu/patches/ftpd_listen_port_HEAD.diff -- LEVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1