mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
10f5fb49db
commit
8fcc81db66
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue