diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-13 09:52:29 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-13 09:52:29 +0100 |
commit | 7d2e1ca4be8491874f139cd3cd5ff53ca5e09277 (patch) | |
tree | e3e6209e38f374bc16389d546a308a19f1afa1b4 /openbsc | |
parent | 7ce2e0c8b08b9b569fb01be8fbfa836bf94fb6e8 (diff) |
[nat] Make sure the ipaccess_bsc_cb will be called..
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 179923605..ffd0af1c4 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -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); |