Changeset 1574 for trunk/lib/format_pcapfile.c
- Timestamp:
- 04/23/10 12:30:22 (3 years ago)
- File:
-
- 1 edited
-
trunk/lib/format_pcapfile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/format_pcapfile.c
r1556 r1574 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.
