Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add sample pcap

  • Loading branch information...
commit 5410d4336d1f82328b6510c00d7aacbf09f1dd4f 1 parent 91d2e14
@avsm authored
Showing with 1 addition and 1 deletion.
  1. BIN  lib_test/http.cap
  2. +1 −1  lib_test/pcap.ml
View
BIN  lib_test/http.cap
Binary file not shown
View
2  lib_test/pcap.ml
@@ -158,7 +158,7 @@ let print_pcap_header buf =
let parse () =
let fd = Unix.(openfile "http.cap" [O_RDONLY] 0) in
- let t = Cstruct.of_fd fd in
+ let t = Unix_cstruct.of_fd fd in
printf "total pcap file length %d\n" (Cstruct.len t);
let header, body = Cstruct.split t sizeof_pcap_header in
Please sign in to comment.
Something went wrong with that request. Please try again.