pespin submitted this change.
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
sigtran: Compare sccp_addr using osmo_sccp_addr_ri_cmp()
Change-Id: I40db348f40a7e30cc170d1ffaabe95f4a5965d78
---
M src/osmo-bsc/osmo_bsc_sigtran.c
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c
index 18c9c46..88174cc 100644
--- a/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -100,7 +100,7 @@
{
struct bsc_msc_data *msc;
llist_for_each_entry(msc, msc_list, entry) {
- if (memcmp(msc_addr, &msc->a.msc_addr, sizeof(*msc_addr)) == 0)
+ if (osmo_sccp_addr_ri_cmp(msc_addr, &msc->a.msc_addr) == 0)
return msc;
}
LOGP(DMSC, LOGL_ERROR, "Unable to find MSC data under address: %s\n",
To view, visit change 40709. To unsubscribe, or for help writing mail filters, visit settings.