summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-01-22 21:33:22 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-01-22 21:33:22 +0100
commit950e22be6756c42c614287e103397f490cc7f106 (patch)
treec8328985883e0a98266f45dbc5ea8566475902e2 /sys
parentb670fc0ac5ad8027e18318191f183457937fb2e4 (diff)
ip: make pkt interfaces unbind on close (from inferno)
Diffstat (limited to 'sys')
-rw-r--r--sys/src/9/ip/pktmedium.c1
1 files changed, 1 insertions, 0 deletions
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,
};
/*