Changeset e0bea4e5


Ignore:
Timestamp:
06/27/14 14:23:56 (6 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
265d6a5
Parents:
fb20640
Message:

Return 0 for port numbers for ICMPv6

This brings the behaviour in line with that for IPv4 ICMP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols_transport.c

    r7baa948 re0bea4e5  
    404404
    405405        /* ICMP *technically* doesn't have ports */
    406         if (proto == TRACE_IPPROTO_ICMP)
     406        if (proto == TRACE_IPPROTO_ICMP || proto == TRACE_IPPROTO_ICMPV6)
    407407                return 0;
    408408
     
    439439       
    440440        /* ICMP *technically* doesn't have ports */
    441         if (proto == TRACE_IPPROTO_ICMP)
     441        if (proto == TRACE_IPPROTO_ICMP || proto == TRACE_IPPROTO_ICMPV6)
    442442                return 0;
    443443
Note: See TracChangeset for help on using the changeset viewer.