gbproxy: Fix log messages in timeout situations

Printing an unbound 'rx' variable when nothing was received due to
timeout is somehow not really useful.  Print what we expected to
receive.

Change-Id: I4fee89baa954736ae8298b63667297dd57d8ec4f
This commit is contained in:
Harald Welte 2020-12-11 10:59:17 +01:00
parent 9b461a94a3
commit dc805c00eb
1 changed files with 2 additions and 2 deletions

View File

@ -765,7 +765,7 @@ friend function f_global_pcu2sgsn(template (value) PDU_BSSGP tx, template (prese
mtc.stop;
}
[] T.timeout {
setverdict(fail, "Timeout waiting for BSSGP on SGSN side: ", rx);
setverdict(fail, "Timeout waiting for BSSGP on SGSN side: ", exp_rx);
mtc.stop;
}
}
@ -788,7 +788,7 @@ friend function f_global_sgsn2pcu(template (value) PDU_BSSGP tx, template (prese
mtc.stop;
}
[] T.timeout {
setverdict(fail, "Timeout waiting for BSSGP on PCU side: ", rx);
setverdict(fail, "Timeout waiting for BSSGP on PCU side: ", exp_rx);
mtc.stop;
}
}