fix: gprs_bssgp_vty: logging filter: wrong constant

Setting the BVC log filter to NULL worked only if the NSVC filter was set,
use the proper constant instead.

Change-Id: Ic1cc268ed20700698c93d3ff8bf85cc0f01d3b1b
This commit is contained in:
Neels Hofmeyr 2017-02-17 16:38:17 +01:00
parent 10f5fb49db
commit 8fcc81db66
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ static void log_set_bvc_filter(struct log_target *target,
if (bctx) {
target->filter_map |= (1 << FLT_BVC);
target->filter_data[FLT_BVC] = bctx;
} else if (target->filter_data[FLT_NSVC]) {
} else if (target->filter_data[FLT_BVC]) {
target->filter_map = ~(1 << FLT_BVC);
target->filter_data[FLT_BVC] = NULL;
}