diff options
Diffstat (limited to 'epan/dissectors/packet-ip.c')
-rw-r--r-- | epan/dissectors/packet-ip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c index 5800c97890..53d59f5b4f 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -1849,6 +1849,10 @@ dissect_icmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) pinfo->in_error_pkt = save_in_error_pkt; /* MPLS extensions */ + /* XXX - this doesn't handle ICMP packets with more than + 128 bytes of the original datagram, which RFC 1812 doesn't + disallow. Make whether to handle MPLS extensions a + preference setting? */ if (tvb_reported_length(tvb) > 8 + 128) dissect_mpls_extensions(tvb, 8 + 128, icmp_tree); |