diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-12-24 00:40:52 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-12-24 00:41:45 +0100 |
commit | c4338deee9f3928eae61689687a1ff7ffee0d7b8 (patch) | |
tree | 5f447f045e2c5737ea094a15c5642f5bcb9cbff5 /src/hnbgw_hnbap.c | |
parent | cd5e981490796eedfb257105036f24d6ba042563 (diff) |
hnbgw: Bring all parts together
We now have the RUA and SUA parts interconnected by the
context ID mapper, and should be able to pass messages back and forward
between both sides.
Unfortunately this touches a bit of everything, but the structures are
all still very much in flux. Hopefully they will start to stabilize at
some point soon...
Diffstat (limited to 'src/hnbgw_hnbap.c')
-rw-r--r-- | src/hnbgw_hnbap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c index fb7cfab..f797992 100644 --- a/src/hnbgw_hnbap.c +++ b/src/hnbgw_hnbap.c @@ -169,7 +169,7 @@ static int hnbgw_rx_ue_register_req(struct hnb_context *ctx, ANY_t *in) DEBUGP(DHNBAP, "UE-REGSITER-REQ ID_type=%d imsi=%s cause=%ld\n", ies.uE_Identity.present, imsi, ies.registration_Cause); - ue = ue_context_by_imsi(imsi); + ue = ue_context_by_imsi(ctx->gw, imsi); if (!ue) ue = ue_context_alloc(ctx, imsi); @@ -193,7 +193,7 @@ static int hnbgw_rx_ue_deregister(struct hnb_context *ctx, ANY_t *in) DEBUGP(DHNBAP, "UE-DE-REGSITER context=%ld cause=%ld\n", ctxid, ies.cause); - ue = ue_context_by_id(ctxid); + ue = ue_context_by_id(ctx->gw, ctxid); if (ue) ue_context_free(ue); |