ip_nat_ftp doesn't register any ports by default.
Subsystems (2)
PATCH 1/1 ip_nat_ftp doesn't register any ports by default.
Linus, please apply ASAP. This would be embarrassing: ip_nat_ftp broke in recent conversion to module_param_array().
Name: Fix ip_nat_ftp registration when no ports= arg
Status: Trivial
Signed-off-by Rusty Russell <[email protected]>
FTP NAT module doesn't register anything with no args. Oops.
net/ipv4/netfilter/ip_nat_ftp.c +1 -1
@@ -297,7 +297,7 @@ static int __init init(void)char *tmpname;if (ports_c ==0 ) - ports[ports_c] =FTP_PORT ; + ports[ports_c++] =FTP_PORT ;for (i =0 ; i < ports_c; i++) { ftp[i].tuple.dst.protonum =IPPROTO_TCP ;
Signature · 1 line
Anyone who quotes me in their signature is an idiot -- Rusty Russell