Commit db298f3b authored by Harald Welte's avatar Harald Welte Committed by David S. Miller

[NETFILTER]: Fix typo in ftp conntrack helper.

parent 7a85bd22
...@@ -32,7 +32,7 @@ MODULE_PARM(loose, "i"); ...@@ -32,7 +32,7 @@ MODULE_PARM(loose, "i");
static int try_rfc959(const char *, size_t, u_int32_t [], char); static int try_rfc959(const char *, size_t, u_int32_t [], char);
static int try_eprt(const char *, size_t, u_int32_t [], char); static int try_eprt(const char *, size_t, u_int32_t [], char);
static int try_espv_response(const char *, size_t, u_int32_t [], char); static int try_epsv_response(const char *, size_t, u_int32_t [], char);
static struct ftp_search { static struct ftp_search {
enum ip_conntrack_dir dir; enum ip_conntrack_dir dir;
...@@ -65,7 +65,7 @@ static struct ftp_search { ...@@ -65,7 +65,7 @@ static struct ftp_search {
IP_CT_DIR_REPLY, IP_CT_DIR_REPLY,
"229 ", sizeof("229 ") - 1, '(', ')', "229 ", sizeof("229 ") - 1, '(', ')',
IP_CT_FTP_EPSV, IP_CT_FTP_EPSV,
try_espv_response, try_epsv_response,
}, },
}; };
...@@ -157,7 +157,7 @@ static int try_eprt(const char *data, size_t dlen, u_int32_t array[6], ...@@ -157,7 +157,7 @@ static int try_eprt(const char *data, size_t dlen, u_int32_t array[6],
} }
/* Returns 0, or length of numbers: |||6446| */ /* Returns 0, or length of numbers: |||6446| */
static int try_espv_response(const char *data, size_t dlen, u_int32_t array[6], static int try_epsv_response(const char *data, size_t dlen, u_int32_t array[6],
char term) char term)
{ {
char delim; char delim;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment