diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-16 17:45:59 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-16 17:53:38 +0800 |
commit | 68d85d5610858e1c7d0427a82bae1fb645f5590a (patch) | |
tree | 1011076b6b2092c17f5ff5d30331ce3e9dbd2474 /openbsc/src/libcommon/debug.c | |
parent | fdd8b3b40dd4499a15558afc10f8d7cfd0041157 (diff) |
libgb: Remove dependency to openbsc/debug.h
Diffstat (limited to 'openbsc/src/libcommon/debug.c')
-rw-r--r-- | openbsc/src/libcommon/debug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c index e15342ba6..68756d0e2 100644 --- a/openbsc/src/libcommon/debug.c +++ b/openbsc/src/libcommon/debug.c @@ -30,6 +30,7 @@ #include <osmocom/core/talloc.h> #include <osmocom/core/utils.h> #include <osmocom/core/logging.h> +#include <osmocom/gprs/gprs_msgb.h> #include <openbsc/gsm_data.h> #include <openbsc/gsm_subscriber.h> #include <openbsc/debug.h> @@ -173,8 +174,8 @@ static int filter_fn(const struct log_context *ctx, struct log_target *tar) { struct gsm_subscriber *subscr = ctx->ctx[BSC_CTX_SUBSCR]; - const struct gprs_nsvc *nsvc = ctx->ctx[BSC_CTX_NSVC]; - const struct gprs_nsvc *bvc = ctx->ctx[BSC_CTX_BVC]; + const struct gprs_nsvc *nsvc = ctx->ctx[GPRS_CTX_NSVC]; + const struct gprs_nsvc *bvc = ctx->ctx[GPRS_CTX_BVC]; if ((tar->filter_map & (1 << FLT_IMSI)) != 0 && subscr && strcmp(subscr->imsi, tar->filter_data[FLT_IMSI]) == 0) |