pespin submitted this change.
Use new libosmo-sigtran API osmo_ss7_as_get_asp_protocol()
Depends: libosmo-sigtran.git Change-Id I6171287c9bc76db6561f8ff92c4aebe453efaa7d
Change-Id: I58b9713ae247a7e28c004170dd890a78c03c39c0
---
M TODO-RELEASE
M src/osmo-bsc/bsc_ctrl.c
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TODO-RELEASE b/TODO-RELEASE
index b5cd5cc..193735c 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,4 +7,4 @@
# If any interfaces have been added since the last public release: c:r:a + 1.
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
-libosmo-sigtran >2.0.1 Use API osmo_ss7_route_get_dest_as(), osmo_ss7_instance_get_id()
+libosmo-sigtran >2.0.1 Use API osmo_ss7_route_get_dest_as(), osmo_ss7_instance_get_id(), osmo_ss7_as_get_asp_protocol()
diff --git a/src/osmo-bsc/bsc_ctrl.c b/src/osmo-bsc/bsc_ctrl.c
index 28f9188..ff917ce 100644
--- a/src/osmo-bsc/bsc_ctrl.c
+++ b/src/osmo-bsc/bsc_ctrl.c
@@ -671,7 +671,7 @@
}
/* don't attempt to send CTRL on a non-SCCPlite AS */
- if (as->cfg.proto != OSMO_SS7_ASP_PROT_IPA) {
+ if (osmo_ss7_as_get_asp_protocol(as) != OSMO_SS7_ASP_PROT_IPA) {
msgb_free(msg);
return 0;
}
To view, visit change 38718. To unsubscribe, or for help writing mail filters, visit settings.