aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-13 10:34:56 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-13 10:34:56 +0200
commit0ab535bfc391a6f53b13a565bfe9464e77045165 (patch)
tree26f64f80c85113f81ed600f3d17d0beb22b7442e /openbsc/src/gprs/gb_proxy.c
parent6df0c5187bc8b6119ec373c0ccd202324d767d0d (diff)
[GPRS] Gb Proxy: Cosmetic fix of log message
Diffstat (limited to 'openbsc/src/gprs/gb_proxy.c')
-rw-r--r--openbsc/src/gprs/gb_proxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index ffaf24060..9580ea3a3 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -169,12 +169,13 @@ static int gbprox_relay2peer(struct msgb *old_msg, struct gbprox_peer *peer,
* be free()d safely when we return from gbprox_rcvmsg() */
struct msgb *msg = msgb_copy(old_msg, "msgb_relay2peer");
- DEBUGP(DGPRS, "NSEI=%u proxying to SGSN->BSS (NS_BVCI=%u, NSEI=%u)\n",
+ DEBUGP(DGPRS, "NSEI=%u proxying SGSN->BSS (NS_BVCI=%u, NSEI=%u)\n",
msgb_nsei(msg), ns_bvci, peer->nsvc->nsei);
msgb_bvci(msg) = ns_bvci;
msgb_nsei(msg) = peer->nsvc->nsei;
+ /* Strip the old NS header, it will be replaced with a new one */
strip_ns_hdr(msg);
return gprs_ns_sendmsg(bssgp_nsi, msg);