X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=blobdiff_plain;f=tun.c;h=6ecde61794a3e3ea2821f6ebe185003c6ea07b4c;hp=102a24cabed62169b11a0f17cdc7f191fdb2e70f;hb=4ac7fd3ff73c98100d8a8546668d0212e4af3ffa;hpb=ee697dd98d0f9aca6b9df7ffb32d3a15b4e33d6d 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,