Ignore:
Timestamp:
09/27/06 15:41:51 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
41b7eab
Parents:
5945854
Message:

Tidy up IP printer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/eth_2048.c

    race188a rfc2078d  
    3434       
    3535        if ((unsigned int)len >= ((char *)&ip->ip_ttl - (char *)ip - 2)) {
    36                 printf(" \n Fragoff %i", ip->ip_off);
     36                printf(" Fragoff %i", ip->ip_off);
    3737                if (ip->ip_mf) printf(" MORE_FRAG");
    3838                if (ip->ip_df) printf(" DONT_FRAG");
     
    4040        }
    4141        //printf("\n IP:");
    42         DISPLAY(ip_ttl,"\n TTL %i");
     42        DISPLAY(ip_ttl,"\n IP: TTL %i");
    4343        if ((unsigned int)len>=((char*)&ip->ip_p-(char*)ip+sizeof(ip->ip_p))) {
    4444                struct protoent *ent=getprotobynumber(ip->ip_p);
Note: See TracChangeset for help on using the changeset viewer.