Skip to content

Commit

Permalink
Restore the old behavior to avoid breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Mar 22, 2022
1 parent 967e57e commit f0b8341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vnetif/vnetif.ml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module Make (B : BACKEND) = struct
flush_on_disconnect : bool;
}

let connect ?size_limit ?flush_on_disconnect:(flush_on_disconnect=true) ?monitor_fn ?unlock_on_listen backend =
let connect ?size_limit ?flush_on_disconnect:(flush_on_disconnect=false) ?monitor_fn ?unlock_on_listen backend =
match (B.register backend) with
| Error _ -> Lwt.fail_with "vnetif: error while registering to backend"
| Ok id ->
Expand Down

0 comments on commit f0b8341

Please sign in to comment.