nat: Fix a crash when a BSC disconnects while a rejected IMSI

When we reject the IMSI we do not have the msc_con set on the
SCCP connection, but we do have a remote_ref. So the nat_send_rlsd
will end up with a crash due the msc_con being zero. Fix the
crash by only sending a released to the MSC when the connection
is not local.
1 file changed
tree: a320e54474d86798665f429da8c3223f6fb7b28b
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/