From 950e22be6756c42c614287e103397f490cc7f106 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 22 Jan 2018 21:33:22 +0100 Subject: ip: make pkt interfaces unbind on close (from inferno) --- sys/src/9/ip/pktmedium.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/src/9/ip/pktmedium.c b/sys/src/9/ip/pktmedium.c index 99b8802eb..b26868af0 100644 --- a/sys/src/9/ip/pktmedium.c +++ b/sys/src/9/ip/pktmedium.c @@ -24,6 +24,7 @@ Medium pktmedium = .unbind= pktunbind, .bwrite= pktbwrite, .pktin= pktin, +.unbindonclose= 1, }; /* -- cgit v1.2.3