~ubuntu-branches/ubuntu/maverick/vsftpd/maverick-proposed

« back to all changes in this revision

Viewing changes to features.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-11-28 15:56:37 UTC
  • mfrom: (1.2.3 upstream) (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20061128155637-7a0diflww1by4yc1
Tags: 2.0.5-2ubuntu1
* Merge from debian unstable, remaining changes:
  - remove stop links from rc0 and rc6
  - lsb init script
  - use snakeoil ssl certs

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    vsf_cmdio_write_raw(p_sess, " AUTH SSL\r\n");
22
22
    vsf_cmdio_write_raw(p_sess, " AUTH TLS\r\n");
23
23
  }
24
 
  vsf_cmdio_write_raw(p_sess, " EPRT\r\n");
25
 
  vsf_cmdio_write_raw(p_sess, " EPSV\r\n");
 
24
  if (tunable_port_enable)
 
25
  {
 
26
    vsf_cmdio_write_raw(p_sess, " EPRT\r\n");
 
27
  }
 
28
  if (tunable_pasv_enable)
 
29
  {
 
30
    vsf_cmdio_write_raw(p_sess, " EPSV\r\n");
 
31
  }
26
32
  vsf_cmdio_write_raw(p_sess, " MDTM\r\n");
27
 
  vsf_cmdio_write_raw(p_sess, " PASV\r\n");
 
33
  if (tunable_pasv_enable)
 
34
  {
 
35
    vsf_cmdio_write_raw(p_sess, " PASV\r\n");
 
36
  }
28
37
  if (tunable_ssl_enable)
29
38
  {
30
39
    vsf_cmdio_write_raw(p_sess, " PBSZ\r\n");