Changeset 629b19b for lib


Ignore:
Timestamp:
01/15/19 10:44:35 (21 months ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
ef5ba20
Parents:
cbd77bd
Message:

Use ERF model for trace_get_interface_hardware_description()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pktmeta.c

    re7132d6 r629b19b  
    347347                        PCAPNG_INTERFACE_TYPE, PCAPNG_META_IF_HARDWARE);
    348348        }
    349         /* Posibly can get ERF interface model here?? */
     349        if (packet->trace->format->type == TRACE_FORMAT_ERF) {
     350                ptr = packet->trace->format->get_meta_data(packet,
     351                        ERF_PROV_SECTION_MODULE, ERF_PROV_MODEL);
     352        }
    350353
    351354        if (ptr != NULL) {
Note: See TracChangeset for help on using the changeset viewer.