[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
netkit-ftp-0.17
- To: netbug(at-nospam)ftp.uk.linux.org, Alan Cox <alan(at-nospam)redhat.com>
- Subject: netkit-ftp-0.17
- From: Ariel Biener <ariel(at-nospam)fireball.tau.ac.il>
- Date: Tue, 24 Jul 2001 17:19:05 +0300 (IDT)
- cc: Israeli Linux Mailing List <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Hi guys,
Someone decided to use "unsigned short" for the ftp peer port number,
so you cannot ftp hosts with port larger than 32767. I don't know who
deals with it among you guys, but I am sure you can bounce it to the right
person:
[root@fireball netkit-ftp-0.17]# diff -u ftp/cmds.c.orig ftp/cmds.c
--- ftp/cmds.c.orig Tue Jul 24 17:15:13 2001
+++ ftp/cmds.c Tue Jul 24 17:12:28 2001
@@ -190,7 +190,7 @@
setpeer(int argc, char *argv[])
{
char *host;
- unsigned short port;
+ unsigned int port;
if (connected) {
printf("Already connected to %s, use close first.\n",
thanks,
--Ariel
--
Ariel Biener
e-mail: ariel@post.tau.ac.il
PGP(6.5.8) public key http://www.tau.ac.il/~ariel/pgp.html
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il