[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

netkit-ftp-0.17





   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