mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
nat: Close the filedescriptor when ignoring the request.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user