osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/38759?usp=email )


Change subject: Use new libosmo-sigtran API osmo_ss7_as_get_asp_protocol()
......................................................................

Use new libosmo-sigtran API osmo_ss7_as_get_asp_protocol()

Depends: libosmo-sigtran.git Change-Id I6171287c9bc76db6561f8ff92c4aebe453efaa7d
Change-Id: I58b9713ae247a7e28c004170dd890a78c03c39c0
(cherry picked from commit dba60c5a95a0f2809ad353144c27a449c6f2c227)
---
M TODO-RELEASE
M src/osmo-bsc/bsc_ctrl.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/59/38759/1

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 a8224ee..06553da 100644
--- a/src/osmo-bsc/bsc_ctrl.c
+++ b/src/osmo-bsc/bsc_ctrl.c
@@ -672,7 +672,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 https://gerrit.osmocom.org/c/osmo-bsc/+/38759?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-bsc
Gerrit-Branch: osmith/1.12.2
Gerrit-Change-Id: I58b9713ae247a7e28c004170dd890a78c03c39c0
Gerrit-Change-Number: 38759
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-CC: pespin <[email protected]>

Reply via email to