ftpd: simplify PORT check by assuming IP = peer's IP.
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Mar 2009 19:54:06 +0000 (19:54 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Mar 2009 19:54:06 +0000 (19:54 -0000)
commit43bb7bba3b09f9beddb07417fa4997a599f5c6d1
tree844f7ccd64e36b0855c47246e88614c696561cc7
parent20c82168976a511237b45eef94891e9124f47f7a
ftpd: simplify PORT check by assuming IP = peer's IP.
 Should be as safe as before this change.

function                                             old     new   delta
ftpd_main                                           2115    2025     -90
networking/ftpd.c