aboutsummaryrefslogtreecommitdiff
path: root/lib/libalias
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-11-27 10:50:23 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-11-27 10:50:23 +0000
commit8573e681106e361aa2d7d955c5de7de3df53781a (patch)
treecc178caf8f376fc5accd52ae1183bf23c59d17c2 /lib/libalias
parent19cb87ad5a531bf0dad106ad54ec147965369ea7 (diff)
downloadsrc-8573e681106e361aa2d7d955c5de7de3df53781a.tar.gz
src-8573e681106e361aa2d7d955c5de7de3df53781a.zip
Notes
Diffstat (limited to 'lib/libalias')
-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 */