From 182404b2741d5b0d2de788e163aa2b0595d340b0 Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 19 Apr 1998 21:42:07 +0000 Subject: o Support a compile-time -DNO_FW_PUNCH for portability (and those of us that don't want the functionality). o Don't assume sizeof(long) == 4. Ok'd by: Charles Mott --- lib/libalias/alias.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalias/alias.c') diff --git a/lib/libalias/alias.c b/lib/libalias/alias.c index c8ef65a..8ae038b 100644 --- a/lib/libalias/alias.c +++ b/lib/libalias/alias.c @@ -318,12 +318,12 @@ IcmpAliasIn2(struct ip *pip) link = FindUdpTcpIn(ip->ip_dst, ip->ip_src, tc->th_dport, tc->th_sport, IPPROTO_TCP); - else if (ip->ip_p == IPPROTO_ICMP) + else if (ip->ip_p == IPPROTO_ICMP) { if (ic2->icmp_type == ICMP_ECHO || ic2->icmp_type == ICMP_TSTAMP) link = FindIcmpIn(ip->ip_dst, ip->ip_src, ic2->icmp_id); else link = NULL; - else + } else link = NULL; if (link != NULL) -- cgit v1.1