diff options
-rw-r--r-- | lib/libalias/alias.c | 4 | ||||
-rw-r--r-- | sys/netinet/libalias/alias.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalias/alias.c b/lib/libalias/alias.c index 4c15c5e..f0c0804 100644 --- a/lib/libalias/alias.c +++ b/lib/libalias/alias.c @@ -321,12 +321,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) diff --git a/sys/netinet/libalias/alias.c b/sys/netinet/libalias/alias.c index 4c15c5e..f0c0804 100644 --- a/sys/netinet/libalias/alias.c +++ b/sys/netinet/libalias/alias.c @@ -321,12 +321,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) |