We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8f2fa6 commit 7ca240fCopy full SHA for 7ca240f
src/hostnet/mux.ml
@@ -67,9 +67,11 @@ module Make (Netif: Mirage_net_lwt.S) = struct
67
let remove t rule =
68
Log.debug (fun f ->
69
f "removing switch port for %s" (Ipaddr.V4.to_string rule));
70
- disconnect t;
+ Netif.disconnect t.netif;;
71
t.rules <- RuleMap.remove rule t.rules
72
73
+
74
75
let callback t buf =
76
(* Does the packet match any of our rules? *)
77
let open Frame in
0 commit comments