Changeset 1580 for trunk/lib/format_pcapfile.c
- Timestamp:
- 05/05/10 14:55:24 (3 years ago)
- File:
-
- 1 edited
-
trunk/lib/format_pcapfile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/format_pcapfile.c
r1574 r1580 422 422 DATAOUT(out)->level, 423 423 DATAOUT(out)->flag); 424 if (!DATAOUT(out)->file) 424 425 if (!DATAOUT(out)->file) { 426 trace_set_err_out(out,errno,"Unable to open file"); 425 427 return -1; 428 } 426 429 427 430 pcaphdr.magic_number = 0xa1b2c3d4; … … 446 449 if (trace_get_wire_length(packet) >= 4) { 447 450 hdr.wirelen = trace_get_wire_length(packet)-4; 448 449 451 } 450 452 else {
Note: See TracChangeset
for help on using the changeset viewer.
