Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / vsftpd / opts.c
blobb8a09f65e82d60672862746ad8240e085dfc100f
1 /*
2 * Part of Very Secure FTPd
3 * Licence: GPL v2
4 * Author: Chris Evans
5 * opts.c
7 * Routines to handle OPTS.
8 */
10 #include "ftpcodes.h"
11 #include "ftpcmdio.h"
12 #include "session.h"
13 #include "tunables.h"
15 void
16 handle_opts(struct vsf_session* p_sess)
18 str_upper(&p_sess->ftp_arg_str);
19 if (tunable_utf8 && str_equal_text(&p_sess->ftp_arg_str, "UTF8 ON"))
21 vsf_cmdio_write(p_sess, FTP_OPTSOK, "Always in UTF8 mode.");
23 else
25 vsf_cmdio_write(p_sess, FTP_BADOPTS, "Option not understood.");