X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/ee697dd98d0f9aca6b9df7ffb32d3a15b4e33d6d..763e458ff3a1cb4f9d11226db91f17069f7b8f7a:/tun.c diff --git a/tun.c b/tun.c index 102a24c..6ecde61 100644 --- a/tun.c +++ b/tun.c @@ -441,7 +441,7 @@ static void tun_phase_hook(void *sst, uint32_t newphase) } /* Register for poll() */ - register_for_poll(st, tun_beforepoll, tun_afterpoll, 1, st->nl.name); + register_for_poll(st, tun_beforepoll, tun_afterpoll, st->nl.name); } static list_t *tun_create(closure_t *self, struct cloc loc, dict_t *context,