From e75fec60d025f3f5c40d2ec6c26b277fc33e8c34 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 15 Oct 2013 12:00:27 +0200 Subject: gbproxy: Replace NS-VC references by NSEI Currently in most places in gb_proxy.c a reference to a NS-VC object is used where the peer is meant instead. The patch changes this by using the NSEI instead in these cases. Sponsored-by: On-Waves ehf --- openbsc/tests/gbproxy/gbproxy_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/tests/gbproxy') diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c index 6e7be64b3..0b4521fb5 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.c +++ b/openbsc/tests/gbproxy/gbproxy_test.c @@ -160,7 +160,7 @@ int gprs_ns_callback(enum gprs_ns_evt event, struct gprs_nsvc *nsvc, switch (event) { case GPRS_NS_EVT_UNIT_DATA: - return gbprox_rcvmsg(msg, nsvc, bvci); + return gbprox_rcvmsg(msg, nsvc->nsei, bvci, nsvc->nsvci); default: break; } -- cgit v1.2.3