aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-03-13 04:44:19 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2019-03-14 03:42:49 +0000
commitb870b60f50f2a1eec3739ea6dd9d94b5eb4dd46c (patch)
tree2433a261bd1ddc1b08e6b7e1a70649d4ecdba936
parentfc2e07ae81fdf25c992c8deb3f86c46a1d21d9e9 (diff)
incoming connect: don't crash if calling addr is missing
The idea was to guard the logging, though actually that can handle a NULL ss7 quite well. Change-Id: Ib028432b37a5c48b677bb21b869cc722575dce92
-rw-r--r--src/osmo-bsc/osmo_bsc_sigtran.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c
index 4b2c4aeac..2ff5d801e 100644
--- a/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -122,7 +122,6 @@ static struct bsc_msc_data *get_msc_by_addr(const struct osmo_sccp_addr *msc_add
}
ss7 = osmo_ss7_instance_find(msc->a.cs7_instance);
- OSMO_ASSERT(ss7);
LOGP(DMSC, LOGL_ERROR, "Unable to find MSC data under address: %s\n", osmo_sccp_addr_name(ss7, msc_addr));
return NULL;
}