1 --- dftpd-1.3/dftpd.c.orig Sun May 23 23:42:48 1999
2 +++ dftpd-1.3/dftpd.c Tue Aug 26 13:22:35 2003
14 #include <netinet/in.h>
15 #include <arpa/inet.h>
21 #include <sys/types.h>
22 #include <sys/socket.h>
25 close_dataconn(datasock); datasock = -1;
26 writes("525 Connection rejected - ident/ip check failed\r\n");
27 - if(cfg.debuglevel >= 2) ftplog("AUTH","Cannot open data connection -
28 - ident/ip check failed"); return -1;
29 + if(cfg.debuglevel >= 2) ftplog("AUTH","Cannot open data connection -"
30 + " ident/ip check failed"); return -1;
32 gethname(&pasv_addr,cur_utmp.datahostname);
34 --- dftpd-1.3/plugindk/defaultcmds.c.orig Sat May 15 02:37:08 1999
35 +++ dftpd-1.3/plugindk/defaultcmds.c Tue Aug 26 13:24:36 2003
47 #include <sys/types.h>
49 seteuid(0); setegid(0);
50 writes("200 Superuser mode is ON\r\n");
53 \ No newline at end of file