Changeset cfd5ebd


Ignore:
Timestamp:
09/12/06 15:59:09 (14 years ago)
Author:
Scott Raynel <smr26@…>
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:
a1141240
Parents:
61e3bf5
Message:

Pre-increment, not post-increment :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/link_wireless.c

    r61e3bf5 rcfd5ebd  
    260260            if (p = (uint16_t *) trace_get_radiotap_field(link,
    261261                    TRACE_RADIOTAP_CHANNEL)) {
    262                 *flags = bswap_le_to_host16(*(p++));
     262                *flags = bswap_le_to_host16(*(++p));
    263263                return true;
    264264            } else break;
     
    296296            if(p = (uint8_t *) trace_get_radiotap_field(link,
    297297                    TRACE_RADIOTAP_FHSS)) {
    298                 *hoppattern = *(p++);
     298                *hoppattern = *(++p);
    299299                return true;
    300300            } else break;
Note: See TracChangeset for help on using the changeset viewer.