diff options
author | brian <brian@FreeBSD.org> | 1998-04-19 21:42:07 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-04-19 21:42:07 +0000 |
commit | 182404b2741d5b0d2de788e163aa2b0595d340b0 (patch) | |
tree | adf7bc6bf6fe73ee0112ffe8e0866989b626b5ab /lib/libalias/alias.c | |
parent | 12bba629029991b4891ee96a822a3990bc9886c7 (diff) | |
download | FreeBSD-src-182404b2741d5b0d2de788e163aa2b0595d340b0.zip FreeBSD-src-182404b2741d5b0d2de788e163aa2b0595d340b0.tar.gz |
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 <cmott@srv.net>
Diffstat (limited to 'lib/libalias/alias.c')
-rw-r--r-- | lib/libalias/alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |