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
Sat Mar 6 08:15:17 UTC 2021


laforge has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



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: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210306/079a8101/attachment.htm>


More information about the gerrit-log mailing list