mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2025-01-29 15:43:34 -05:00
do not forget to disconnect layers
This commit is contained in:
parent
1ad5644553
commit
27236eafac
@ -515,6 +515,12 @@ struct
|
||||
currently we delay 1s as Netif.disconnect is non-blocking... (need to fix upstream?) *)
|
||||
Log.info (fun f ->
|
||||
f "disconnecting from our uplink");
|
||||
U.disconnect uplink.udp;
|
||||
I.disconnect uplink.ip;
|
||||
(* mutable fragments : Fragments.Cache.t; *)
|
||||
(* interface : interface; *)
|
||||
Arp.disconnect uplink.arp;
|
||||
UplinkEth.disconnect uplink.eth;
|
||||
Netif.disconnect uplink.net;
|
||||
Lwt_condition.broadcast router.uplink_disconnected ();
|
||||
Lwt.return_unit
|
||||
|
Loading…
x
Reference in New Issue
Block a user