diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2013-10-15 12:00:27 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-15 15:19:29 +0200 |
commit | e75fec60d025f3f5c40d2ec6c26b277fc33e8c34 (patch) | |
tree | 6a56ec15dab86a59f0f45ed461c0d14908905ba6 /openbsc/tests/gbproxy | |
parent | 51a869c80c80fbbf8494992d8c2fa10ede537029 (diff) |
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
Diffstat (limited to 'openbsc/tests/gbproxy')
-rw-r--r-- | openbsc/tests/gbproxy/gbproxy_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |