Interface was hardcoded, (cut/paste from the testing openwrt machine)
[openwrt/svn-archive/archive.git] / openwrt / package / vsftpd / patches / chroot.patch
1 diff -ruN vsftpd-1.2.2-orig/tunables.c vsftpd-1.2.2-3/tunables.c
2 --- vsftpd-1.2.2-orig/tunables.c 2004-04-20 02:25:05.000000000 +0200
3 +++ vsftpd-1.2.2-3/tunables.c 2005-03-09 21:12:35.000000000 +0100
4 @@ -78,7 +78,7 @@
5 unsigned int tunable_max_per_ip = 0;
6 unsigned int tunable_trans_chunk_size = 0;
7
8 -const char* tunable_secure_chroot_dir = "/usr/share/empty";
9 +const char* tunable_secure_chroot_dir = "/var/run/vsftpd";
10 const char* tunable_ftp_username = "ftp";
11 const char* tunable_chown_username = "root";
12 const char* tunable_xferlog_file = "/var/log/xferlog";