From adcf97d095e506174601c67d3a3dcef709fb66e0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 4 Mar 2021 10:02:29 +0100 Subject: [PATCH] Remove bogus DNS log category When we switched to the libosmogb NS2 implementation, we should have removed the DNS category, as NS2 uses DLNS internally and hence DNS is unused. Change-Id: Ia4723ab344ad6a1927029a2d5d0dda020266b39d Closes: OS#5058 --- include/osmocom/sgsn/debug.h | 1 - src/sgsn/sgsn_main.c | 5 ----- tests/sgsn/sgsn_test.c | 5 ----- 3 files changed, 11 deletions(-) diff --git a/include/osmocom/sgsn/debug.h b/include/osmocom/sgsn/debug.h index 37e4a097d..80c5d9fc6 100644 --- a/include/osmocom/sgsn/debug.h +++ b/include/osmocom/sgsn/debug.h @@ -13,7 +13,6 @@ enum { DMEAS, DREF, DGPRS, - DNS, DLLC, DSNDCP, DSLHC, diff --git a/src/sgsn/sgsn_main.c b/src/sgsn/sgsn_main.c index 2cabbf3cf..97309dddd 100644 --- a/src/sgsn/sgsn_main.c +++ b/src/sgsn/sgsn_main.c @@ -310,11 +310,6 @@ static struct log_info_cat gprs_categories[] = { .description = "GPRS Packet Service", .enabled = 1, .loglevel = LOGL_NOTICE, }, - [DNS] = { - .name = "DNS", - .description = "GPRS Network Service (NS)", - .enabled = 1, .loglevel = LOGL_NOTICE, - }, [DLLC] = { .name = "DLLC", .description = "GPRS Logical Link Control Protocol (LLC)", diff --git a/tests/sgsn/sgsn_test.c b/tests/sgsn/sgsn_test.c index 057462062..63a7f3eed 100644 --- a/tests/sgsn/sgsn_test.c +++ b/tests/sgsn/sgsn_test.c @@ -1620,11 +1620,6 @@ static struct log_info_cat gprs_categories[] = { .description = "GPRS Packet Service", .enabled = 1, .loglevel = LOGL_DEBUG, }, - [DNS] = { - .name = "DNS", - .description = "GPRS Network Service (NS)", - .enabled = 1, .loglevel = LOGL_INFO, - }, [DLLC] = { .name = "DLLC", .description = "GPRS Logical Link Control Protocol (LLC)",