smpp: In case we know the receiver set the context for logging

This commit is contained in:
Holger Hans Peter Freyther 2013-12-29 20:30:02 +01:00
parent 249b3f38c5
commit 095bd36627
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ static struct gsm_subscriber *subscr_by_dst(struct gsm_network *net,
break;
}
/* tag the context in case we know it */
log_set_context(BSC_CTX_SUBSCR, subscr);
return subscr;
}