[PATCH] libosmo-sccp[master]: sua: Fix byte order when printing of embedded IEI

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Feb 15 23:05:56 UTC 2017


Review at  https://gerrit.osmocom.org/1834

sua: Fix byte order when printing of embedded IEI

Change-Id: Ib9c3ec39cb1e6879fb652fa6fe04e05ad537a958
---
M src/sua.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/34/1834/1

diff --git a/src/sua.c b/src/sua.c
index 4f18466..3864587 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -703,7 +703,7 @@
 		par_datalen = par_len - sizeof(*par);
 
 		LOGP(DSUA, LOGL_DEBUG, "SUA IEI 0x%04x pos %hu/%hu: subpart tag 0x%04x, len %hu\n",
-		     param->tag, pos, param->len, par->tag, par->len);
+		     param->tag, pos, param->len, par_tag, par_len);
 
 		switch (par_tag) {
 		case SUA_IEI_PC:

-- 
To view, visit https://gerrit.osmocom.org/1834
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9c3ec39cb1e6879fb652fa6fe04e05ad537a958
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list