chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
poll: Abolish max_nfds
[secnet.git]
/
tun.c
diff --git
a/tun.c
b/tun.c
index 102a24cabed62169b11a0f17cdc7f191fdb2e70f..6ecde61794a3e3ea2821f6ebe185003c6ea07b4c 100644
(file)
--- 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,