Changeset 52e95c7 for examples


Ignore:
Timestamp:
05/13/04 17:06:22 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
9263981
Parents:
167adf2
Message:

modified the protocol sample

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/protocol/protocol.c

    r2c060e3 r52e95c7  
    3333                ipptr = get_ip(trace,buffer,4096);
    3434                if (ipptr) {
    35                         printf("%d\n",ipptr->ip_p);
     35                        printf("%d:%d\n",ipptr->ip_p,get_link_type(trace,buffer,4096));
    3636                }
    3737        }
Note: See TracChangeset for help on using the changeset viewer.