~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test-example: Reorder a config to better test CHILDPERSIST
[secnet]
/
tun.c
diff --git
a/tun.c
b/tun.c
index
2c84ed0
..
b3c69a2
100644
(file)
--- a/
tun.c
+++ b/
tun.c
@@
-442,6
+442,8
@@
static void tun_phase_hook(void *sst, uint32_t newphase)
tun_set_route(st,r);
}
+ add_hook(PHASE_CHILDPERSIST,childpersist_closefd_hook,&st->fd);
+
/* Register for poll() */
register_for_poll(st, tun_beforepoll, tun_afterpoll, st->nl.name);
}