[gprs] gb_proxy: fix NSEI value printed in some debug statements
diff --git a/openbsc/src/gb_proxy.c b/openbsc/src/gb_proxy.c
index f04d057..a4b432e 100644
--- a/openbsc/src/gb_proxy.c
+++ b/openbsc/src/gb_proxy.c
@@ -155,7 +155,7 @@
static int gbprox_relay2sgsn(struct msgb *msg, uint16_t ns_bvci)
{
DEBUGP(DGPRS, "NSEI=%u proxying to SGSN (NS_BVCI=%u, NSEI=%u)\n",
- ns_bvci, gbcfg.nsip_sgsn_nsei);
+ msgb_nsei(msg), ns_bvci, gbcfg.nsip_sgsn_nsei);
msgb_bvci(msg) = ns_bvci;
msgb_nsei(msg) = gbcfg.nsip_sgsn_nsei;
@@ -170,7 +170,7 @@
uint16_t ns_bvci)
{
DEBUGP(DGPRS, "NSEI=%u proxying to to BSS (NS_BVCI=%u, NSEI=%u)\n",
- ns_bvci, peer->nsvc->nsei);
+ msgb_nsei(msg), ns_bvci, peer->nsvc->nsei);
msgb_bvci(msg) = ns_bvci;
msgb_nsei(msg) = peer->nsvc->nsei;