[nat] Make sure the ipaccess_bsc_cb will be called..

This commit is contained in:
Holger Hans Peter Freyther 2010-01-13 09:52:29 +01:00
parent 7625506430
commit c7641c9a70
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ static int ipaccess_listen_bsc_cb(struct bsc_fd *bfd, unsigned int what)
bsc->bsc_fd.data = bsc;
bsc->bsc_fd.fd = ret;
bsc->bsc_fd.cb = ipaccess_bsc_cb;
bsc->bsc_fd.when = BSC_FD_READ;
if (bsc_register_fd(&bsc->bsc_fd) < 0) {
DEBUGP(DMSC, "Failed to register BSC fd.\n");
close(ret);