nat: Verify that the endpoint from the assignment command exists

Make sure that the MSC endpoint exists on the NAT, otherwise
we end up trying to free this endpoint when the SCCP connection
is taken down and will corrupt our memory. This issue started
to pop up as we have reduced the number of endpoints to 60
to allow transcoding on them.
1 file changed
tree: 66fcdacc40577e8488895b1365219bf86f26fd0b
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/