Changeset b27ed21 for lib/format_erf.c


Ignore:
Timestamp:
01/21/19 11:43:12 (21 months ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
ddad48c
Parents:
c8171e5
Message:

Add datatype enum to libtrace_meta_item_t structure, Convert interface speeds from network to host byte ordering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    rd4eed70 rb27ed21  
    10021002                        result->items[result->num-1].option = ntohs(sec->type);
    10031003                        result->items[result->num-1].len = ntohs(sec->len);
    1004                         result->items[result->num-1].data_type = 0;
     1004                        result->items[result->num-1].datatype = TRACE_META_UNKNOWN;
    10051005                        result->items[result->num-1].data = malloc(ntohs(sec->len));
    10061006                        memcpy(result->items[result->num-1].data,
     
    10811081                        result->items[result->num-1].option = ntohs(sec->type);
    10821082                        result->items[result->num-1].len = ntohs(sec->len);
    1083                         result->items[result->num-1].data_type = 0;
     1083                        result->items[result->num-1].datatype = TRACE_META_UNKNOWN;
    10841084                        result->items[result->num-1].data = calloc(1, ntohs(sec->len));
    10851085
Note: See TracChangeset for help on using the changeset viewer.