From 346e1c4bc4266ad645aab88d6357518e17055fb3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 2 Jan 2011 18:11:37 +0100 Subject: mtp: Attempt to select the sls properly in the round robin fashion When we call the submit method with a SLS of -1 we will try to find the next SLS to do things in a round robin way. --- src/bsc_sccp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bsc_sccp.c') diff --git a/src/bsc_sccp.c b/src/bsc_sccp.c index 69e2262..ea13c43 100644 --- a/src/bsc_sccp.c +++ b/src/bsc_sccp.c @@ -86,7 +86,7 @@ unsigned int sls_for_src_ref(struct sccp_source_reference *ref) con = find_con_by_src_ref(ref); if (!con) - return 13; + return -1; return con->sls; } -- cgit v1.2.3