aboutsummaryrefslogtreecommitdiff
path: root/lib/libalias/alias_ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalias/alias_ftp.c')
-rw-r--r--lib/libalias/alias_ftp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libalias/alias_ftp.c b/lib/libalias/alias_ftp.c
index 92bfae83f396..efc78c734530 100644
--- a/lib/libalias/alias_ftp.c
+++ b/lib/libalias/alias_ftp.c
@@ -483,11 +483,8 @@ NewFtpMessage(struct ip *pip,
struct tcphdr *tc;
#ifndef NO_FW_PUNCH
- if (ftp_message_type == FTP_PORT_COMMAND ||
- ftp_message_type == FTP_EPRT_COMMAND) {
- /* Punch hole in firewall */
- PunchFWHole(ftp_link);
- }
+ /* Punch hole in firewall */
+ PunchFWHole(ftp_link);
#endif
/* Calculate data length of TCP packet */