We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0780a2 commit 362e90fCopy full SHA for 362e90f
1 file changed
src/route.c
@@ -193,7 +193,7 @@ link_open(struct ctx *ctx)
193
#elif defined(ROUTE_MSGFILTER)
194
/* Convert the array into a bitmask. */
195
msgfilter_mask = 0;
196
- for (i = 0; i < __arraycount(msgfilter); i++)
+ for (i = 0; i < ARRAYCOUNT(msgfilter); i++)
197
msgfilter_mask |= ROUTE_FILTER(msgfilter[i]);
198
if (setsockopt(lctx->link_fd, PF_ROUTE, ROUTE_MSGFILTER,
199
&msgfilter_mask, sizeof(msgfilter_mask)) == -1)
0 commit comments