aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-04-01 11:55:31 +0200
committerHarald Welte <laforge@osmocom.org>2020-04-01 11:57:37 +0200
commit25e41af2d965bf740e5bae711af7b52256c311e8 (patch)
tree16e9e6a24441b125cf71afe7d6e6e053e9801079
parent6ab7a52b674309001c9231be4529a55fabddc6ce (diff)
remove 'NAT' log category
This dates back to a time where osmo-bsc_nat was in the same repository, which is a long time ago. Change-Id: Id965295dfe04f8bd5ce831db70c86f67b8dc290b
-rw-r--r--include/osmocom/bsc/debug.h1
-rw-r--r--src/libfilter/bsc_msg_acc.c2
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c7
-rw-r--r--tests/bsc/bsc_test.c5
4 files changed, 2 insertions, 13 deletions
diff --git a/include/osmocom/bsc/debug.h b/include/osmocom/bsc/debug.h
index adc6abbe1..82c0703a8 100644
--- a/include/osmocom/bsc/debug.h
+++ b/include/osmocom/bsc/debug.h
@@ -19,7 +19,6 @@ enum {
DHO,
DHODEC,
DREF,
- DNAT,
DCTRL,
DFILTER,
DPCU,
diff --git a/src/libfilter/bsc_msg_acc.c b/src/libfilter/bsc_msg_acc.c
index de6c4d933..8853dbb5c 100644
--- a/src/libfilter/bsc_msg_acc.c
+++ b/src/libfilter/bsc_msg_acc.c
@@ -96,7 +96,7 @@ struct bsc_msg_acc_lst *bsc_msg_acc_lst_get(void *ctx, struct llist_head *head,
lst = talloc_zero(ctx, struct bsc_msg_acc_lst);
if (!lst) {
- LOGP(DNAT, LOGL_ERROR, "Failed to allocate access list\n");
+ LOGP(DFILTER, LOGL_ERROR, "Failed to allocate access list\n");
return NULL;
}
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index bf68c9b84..de84060e6 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -748,11 +748,6 @@ static const struct log_info_cat osmo_bsc_categories[] = {
.description = "Reference Counting",
.enabled = 0, .loglevel = LOGL_NOTICE,
},
- [DNAT] = {
- .name = "DNAT",
- .description = "GSM 08.08 NAT/Multiplexer",
- .enabled = 1, .loglevel = LOGL_NOTICE,
- },
[DCTRL] = {
.name = "DCTRL",
.description = "Control interface",
@@ -915,7 +910,7 @@ int main(int argc, char **argv)
llist_for_each_entry(msc, &bsc_gsmnet->bsc_data->mscs, entry) {
if (osmo_bsc_msc_init(msc) != 0) {
- LOGP(DNAT, LOGL_ERROR, "Failed to start up. Exiting.\n");
+ LOGP(DMSC, LOGL_ERROR, "Failed to start up. Exiting.\n");
exit(1);
}
}
diff --git a/tests/bsc/bsc_test.c b/tests/bsc/bsc_test.c
index 86b72824d..6079ec500 100644
--- a/tests/bsc/bsc_test.c
+++ b/tests/bsc/bsc_test.c
@@ -192,11 +192,6 @@ static const struct log_info_cat log_categories[] = {
.color = "\033[1;36m",
.enabled = 1, .loglevel = LOGL_INFO,
},
- [DNAT] = {
- .name = "DNAT",
- .description = "GSM 08.08 NAT/Multiplexer",
- .enabled = 1, .loglevel = LOGL_NOTICE,
- },
[DMSC] = {
.name = "DMSC",
.description = "Mobile Switching Center",