Skip to content

Commit

Permalink
ef should be passed when deleting. man kevent states kevents are iden…
Browse files Browse the repository at this point in the history
…tified by ident/filter/udata tuple
  • Loading branch information
arr2036 committed Jun 7, 2020
1 parent 5f185c0 commit 8e9db9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static ssize_t fr_event_build_evset(struct kevent out_kev[], size_t outlen, fr_e
EVENT_DEBUG("\tEV_SET EV_DELETE filter %s (%i), flags %i, fflags %i",
fr_table_str_by_value(kevent_filter_table, map->filter, "<INVALID>"),
map->filter, EV_DELETE, 0, 0);
EV_SET(out++, ef->fd, map->filter, EV_DELETE, 0, 0, 0);
EV_SET(out++, ef->fd, map->filter, EV_DELETE, 0, 0, ef);
}
}

Expand Down

0 comments on commit 8e9db9f

Please sign in to comment.