Changeset 2193905 for lib/protocols_pktmeta.c
- Timestamp:
- 11/29/18 10:12:59 (2 years ago)
- Branches:
- develop
- Children:
- fdf23b8
- Parents:
- d74ca03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/protocols_pktmeta.c
r25a3255 r2193905 27 27 #include "libtrace.h" 28 28 #include "protocols.h" 29 #include <assert.h>30 29 31 30 #ifdef HAVE_WANDDER … … 156 155 uint32_t dummyrem; 157 156 void *pktbuf = NULL; 158 /*assert(packet != NULL);*/159 157 if (!packet) { 160 158 fprintf(stderr, "NULL packet passed into trace_get_packet_meta()"); 161 159 return NULL; 162 160 } 163 /*assert(linktype != NULL);*/164 161 if (!linktype) { 165 162 fprintf(stderr, "NULL linkype passed into trace_get_packet_meta()"); … … 210 207 uint16_t next = 0; 211 208 212 /*assert(meta != NULL);*/213 209 if (!meta) { 214 210 fprintf(stderr, "NULL meta passed into trace_get_payload_from_meta()"); 215 211 return NULL; 216 212 } 217 /*assert(linktype != NULL);*/218 213 if (!linktype) { 219 214 fprintf(stderr, "NULL linktype passed into trace_get_payload_from_meta()"); 220 215 return NULL; 221 216 } 222 /*assert(remaining != NULL);*/223 217 if (!remaining) { 224 218 fprintf(stderr, "NULL remaining passed into trace_get_payload_from_meta()");
Note: See TracChangeset
for help on using the changeset viewer.