diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-11-22 17:54:23 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-11-26 10:49:15 +0000 |
commit | b540c3e983f274ee64706ef39e985ff3d6be0530 (patch) | |
tree | 0fb82d07634ccef27d6566fa3dfb8a54aefd24d0 /src/gprs | |
parent | e759f33ca52ce0c718aebeb25f0b5f33d2158617 (diff) |
gbproxy: flush_stored_messages: Log and route using stored_msg info
It makes no sense to print every stored_msg with BVCI from msg, same for
routing. This will allow getting rid of "msg" completelly in next
commit.
Change-Id: I95eafbf41012be3e02c68fc996773dd02b174fe6
Diffstat (limited to 'src/gprs')
-rw-r--r-- | src/gprs/gb_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs/gb_proxy.c b/src/gprs/gb_proxy.c index d43b03405..331ebc8cb 100644 --- a/src/gprs/gb_proxy.c +++ b/src/gprs/gb_proxy.c @@ -361,13 +361,13 @@ static int gbproxy_flush_stored_messages(struct gbproxy_peer *peer, } rc = gbprox_relay2sgsn(peer->cfg, stored_msg, - msgb_bvci(msg), link_info->sgsn_nsei); + msgb_bvci(stored_msg), link_info->sgsn_nsei); if (rc < 0) LOGP(DLLC, LOGL_ERROR, "NSEI=%d(BSS) failed to send stored message " "(%s)\n", - msgb_nsei(msg), + tmp_parse_ctx.peer_nsei, tmp_parse_ctx.llc_msg_name ? tmp_parse_ctx.llc_msg_name : "BSSGP"); msgb_free(stored_msg); |