pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43423?usp=email )


Change subject: sua: sua_addr_parse_get(): Log subpart where parse failed
......................................................................

sua: sua_addr_parse_get(): Log subpart where parse failed

Change-Id: Id33b74f10cb617d94a404b509240a46f6d11324b
---
M src/sua.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran 
refs/changes/23/43423/1

diff --git a/src/sua.c b/src/sua.c
index f3ed921..e14130f 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -888,8 +888,8 @@
        return 0;

 subpar_fail:
-       LOGP(DLSUA, LOGL_ERROR, "Failed to parse subparts of address 
IEI=0x%04x\n",
-            param->tag);
+       LOGP(DLSUA, LOGL_ERROR, "Failed to parse SUA Address IEI=0x%04x 
(subpart tag 0x%04x, len %hu)\n",
+            param->tag, par_tag, par_len);
        return -EINVAL;
 }


--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43423?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Id33b74f10cb617d94a404b509240a46f6d11324b
Gerrit-Change-Number: 43423
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to