Skip to content

Commit

Permalink
Merge pull request #237 from robur-coop/exitcc'
Browse files Browse the repository at this point in the history
Fix Use_cc_exit_notify bit value
  • Loading branch information
reynir authored Apr 25, 2024
2 parents eac23f5 + a969659 commit a401e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packet.ml
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ module Iv_proto = struct
let bit = function
| Request_push -> 2
| Tls_key_export -> 3
| Use_cc_exit_notify -> 6
| Use_cc_exit_notify -> 7

let byte xs = List.fold_left (fun b x -> b lor (1 lsl bit x)) 0 xs
let contains flag v = v land (1 lsl bit flag) <> 0
Expand Down

0 comments on commit a401e2c

Please sign in to comment.