[MERGED] osmo-hlr[master]: debug log: log computed vector kinds

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jan 19 16:06:12 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: debug log: log computed vector kinds
......................................................................


debug log: log computed vector kinds

Change-Id: Iffb9b0f99e3006861599c921d037504a7bc8d976
---
M src/auc.c
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/auc.c b/src/auc.c
index 8ceafad..33d8eda 100644
--- a/src/auc.c
+++ b/src/auc.c
@@ -55,6 +55,8 @@
 
 		if (aud2g && !aud3g) {
 			/* 2G only case: output directly to vec */
+			DEBUGP(DAUC, "compute vector [%u]/%u: 2G only\n",
+			       i, num_vec);
 			rc = osmo_auth_gen_vec(vec+i, aud2g, rand);
 			if (rc < 0) {
 				LOGP(DAUC, LOGL_ERROR, "Error in 2G vector "
@@ -63,6 +65,8 @@
 			}
 		} else if (aud3g) {
 			/* 3G or 3G + 2G case */
+			DEBUGP(DAUC, "compute vector [%u]/%u: 3G or 3G + 2G\n",
+			       i, num_vec);
 			if (rand_auts && auts)
 				rc = osmo_auth_gen_vec_auts(vec+i, aud3g,
 							    rand_auts,
@@ -78,6 +82,8 @@
 		if (aud2g && aud3g) {
 			/* separate 2G + 3G case: patch 2G into 3G */
 			struct osmo_auth_vector vtmp;
+			DEBUGP(DAUC, "compute vector [%u]/%u:"
+			       " separate 2G + 3G\n", i, num_vec);
 			rc = osmo_auth_gen_vec(&vtmp, aud2g, rand);
 			if (rc < 0) {
 				LOGP(DAUC, LOGL_ERROR, "Error in 2G vector "

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iffb9b0f99e3006861599c921d037504a7bc8d976
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list