From 9ca39e1c56a87fdcf3ca037972cf864119a6d601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sat, 4 Jan 2020 18:12:50 +0000 Subject: IPv4: Fix indentation (use spaces) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie89c3c958567182c1f5fe66cff23522e797a3e78 Reviewed-on: https://code.wireshark.org/review/35640 Reviewed-by: João Valverde --- epan/dissectors/packet-ip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'epan/dissectors') diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c index c5a36bded1..bd8f0685f0 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -2153,9 +2153,8 @@ dissect_ip_v4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* "Local Network Control Block (see RFC 3171)", ttl); } - } else if (!in4_addr_is_multicast(dst32) && - /* At least BGP should appear here as well */ - iph->ip_ttl < 5 && + } else if (iph->ip_ttl < 5 && !in4_addr_is_multicast(dst32) && + /* At least BGP should appear here as well */ iph->ip_proto != IP_PROTO_PIM && iph->ip_proto != IP_PROTO_OSPF) { expert_add_info_format(pinfo, ttl_item, &ei_ip_ttl_too_small, "\"Time To Live\" only %u", iph->ip_ttl); -- cgit v1.2.3