Change in libosmo-sccp[master]: xua: Select only active ASPs during tx in Override traffic mode

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Nov 7 13:37:02 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15992 )

Change subject: xua: Select only active ASPs during tx in Override traffic mode
......................................................................

xua: Select only active ASPs during tx in Override traffic mode

Change-Id: I7eb049011b81c5141fd3edf6f0ae0202ffb2c6c9
---
M src/xua_as_fsm.c
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/xua_as_fsm.c b/src/xua_as_fsm.c
index 04e592c..5d0b327 100644
--- a/src/xua_as_fsm.c
+++ b/src/xua_as_fsm.c
@@ -83,9 +83,7 @@
 	/* FIXME: proper selection of the ASP based on the SLS! */
 	for (i = 0; i < ARRAY_SIZE(as->cfg.asps); i++) {
 		asp = as->cfg.asps[i];
-		if (!asp)
-			continue;
-		if (asp)
+		if (asp && osmo_ss7_asp_active(asp))
 			break;
 	}
 	return asp;

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15992
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I7eb049011b81c5141fd3edf6f0ae0202ffb2c6c9
Gerrit-Change-Number: 15992
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191107/899d7859/attachment.htm>


More information about the gerrit-log mailing list