Changeset ec0b927


Ignore:
Timestamp:
03/06/13 13:32:03 (9 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, 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:
89b6069
Parents:
68b7f29
Message:
  • Updated the ICMP decoder to print the ICMP checksum
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/ip_1.c

    rc7062df rec0b927  
    8686
    8787        }
     88        printf(" ICMP: Checksum: ");
     89        if (len < 8)
     90                printf("(Truncated)\n");
     91        else
     92                printf("%u\n", ntohs(icmp->checksum));
     93
     94
    8895        return;
    8996}
Note: See TracChangeset for help on using the changeset viewer.