aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_bssgp_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gb/gprs_bssgp_vty.c')
-rw-r--r--src/gb/gprs_bssgp_vty.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c
index d8fc8407..f3f354cc 100644
--- a/src/gb/gprs_bssgp_vty.c
+++ b/src/gb/gprs_bssgp_vty.c
@@ -47,11 +47,11 @@ static void log_set_bvc_filter(struct log_target *target,
struct bssgp_bvc_ctx *bctx)
{
if (bctx) {
- target->filter_map |= (1 << LOGGING_FILTER_GB_BVC);
- target->filter_data[LOGGING_FILTER_GB_BVC] = bctx;
- } else if (target->filter_data[LOGGING_FILTER_GB_BVC]) {
- target->filter_map = ~(1 << LOGGING_FILTER_GB_BVC);
- target->filter_data[LOGGING_FILTER_GB_BVC] = NULL;
+ target->filter_map |= (1 << LOG_FLT_GB_BVC);
+ target->filter_data[LOG_FLT_GB_BVC] = bctx;
+ } else if (target->filter_data[LOG_FLT_GB_BVC]) {
+ target->filter_map = ~(1 << LOG_FLT_GB_BVC);
+ target->filter_data[LOG_FLT_GB_BVC] = NULL;
}
}