Changeset d4eed70 for lib/trace.c


Ignore:
Timestamp:
01/16/19 15:12:25 (2 years ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
66ffac4
Parents:
d51e5d0
Message:

Add config option TRACE_OPTION_DISCARD_META

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    re7132d6 rd4eed70  
    685685                        return -1;
    686686
    687 
     687                case TRACE_OPTION_DISCARD_META:
     688                        if (!trace_is_err(libtrace)) {
     689                                trace_set_err(libtrace, TRACE_ERR_OPTION_UNAVAIL,
     690                                        "Libtrace does not support meta packets for this format");
     691                        }
     692                        return -1;
    688693        }
    689694        if (!trace_is_err(libtrace)) {
Note: See TracChangeset for help on using the changeset viewer.