diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-17 16:38:17 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-17 16:38:17 +0100 |
commit | 8fcc81db6607d44fe135850cef07e7a2123e1171 (patch) | |
tree | bdcfb1e165e26482b27edb89be08b5fcd0f8a3f5 /src | |
parent | 10f5fb49dbe8e79390758d8a83e826865d76929d (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/gb/gprs_bssgp_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c index 90e50011..1f382a21 100644 --- a/src/gb/gprs_bssgp_vty.c +++ b/src/gb/gprs_bssgp_vty.c @@ -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; } |