nat: Close the filedescriptor when ignoring the request.
This commit is contained in:
parent
5f291d5077
commit
a7c377d593
|
@ -547,6 +547,7 @@ static int ipaccess_listen_bsc_cb(struct bsc_fd *bfd, unsigned int what)
|
|||
*/
|
||||
if (!msc_con->is_connected) {
|
||||
LOGP(DNAT, LOGL_NOTICE, "Disconnecting BSC due lack of MSC connection.\n");
|
||||
close(ret);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue