diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-12-28 18:54:32 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-02 11:43:06 +0100 |
commit | 6995f24831b70ef64bd08976f2aecc5314fe9862 (patch) | |
tree | 2d8465b045245304156394930a4ff60ad9d6cf04 /openbsc/include | |
parent | b7ccac4d620271e8780fdc7640cba96c275bdf85 (diff) |
logging: Only compare the subscr address
Move the "logging filter imsi IMSI" into the BTS/NITB code to
allow to set the gsm_subscriber and only compare it. This way
we simply compare the subscriber address and don't have to care
if the subscriber data is still valid.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h index d851181c7..bbb3ee618 100644 --- a/openbsc/include/openbsc/debug.h +++ b/openbsc/include/openbsc/debug.h @@ -53,8 +53,9 @@ enum { /* we don't need a header dependency for this... */ struct gprs_nsvc; struct bssgp_bvc_ctx; +struct gsm_subscriber; -void log_set_imsi_filter(struct log_target *target, const char *imsi); +void log_set_imsi_filter(struct log_target *target, struct gsm_subscriber *subscr); void log_set_nsvc_filter(struct log_target *target, struct gprs_nsvc *nsvc); void log_set_bvc_filter(struct log_target *target, |