- Timestamp:
- 04/23/10 12:30:22 (12 years ago)
- 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:
- 1f0fd98
- Parents:
- 83a1f4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_pcapfile.c
rb5af22c ra89e2fa 186 186 sizeof(DATA(libtrace)->header)); 187 187 188 DATA(libtrace)->started = true; 189 188 190 if (err<1) 189 191 return -1; … … 192 194 0xa1b2c3d4) { 193 195 trace_set_err(libtrace,TRACE_ERR_INIT_FAILED, 194 "Not a pcap tracefile \n");196 "Not a pcap tracefile (magic=%08x)\n",swapl(libtrace,DATA(libtrace)->header.magic_number)); 195 197 return -1; /* Not a pcap file */ 196 198 }
Note: See TracChangeset
for help on using the changeset viewer.