Change in libosmocore[master]: gprs_ns2_sns: Implement error log in case no binds found for NSE

laforge gerrit-no-reply at lists.osmocom.org
Fri Mar 5 09:41:10 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/23241 )


Change subject: gprs_ns2_sns: Implement error log in case no binds found for NSE
......................................................................

gprs_ns2_sns: Implement error log in case no binds found for NSE

Change-Id: I66ce4b429ad2597343b48210fdcbc95a1f34cbcd
---
M src/gb/gprs_ns2_sns.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/41/23241/1

diff --git a/src/gb/gprs_ns2_sns.c b/src/gb/gprs_ns2_sns.c
index a8baa28..715dd8e 100644
--- a/src/gb/gprs_ns2_sns.c
+++ b/src/gb/gprs_ns2_sns.c
@@ -756,7 +756,7 @@
 	/* count how many bindings are available (only UDP binds) */
 	count = llist_count(&gss->binds);
 	if (count == 0) {
-		/* TODO: logging */
+		LOGPFSML(fi, LOGL_ERROR, "No local binds for this NSE -> cannot determine IP endpoints\n");
 		return;
 	}
 

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I66ce4b429ad2597343b48210fdcbc95a1f34cbcd
Gerrit-Change-Number: 23241
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210305/2d0e96ad/attachment.htm>


More information about the gerrit-log mailing list