This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
daniel gerrit-no-reply at lists.osmocom.orgdaniel has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/25636 )
Change subject: gbproxy: Use designated initializers for global_ctr_description
......................................................................
gbproxy: Use designated initializers for global_ctr_description
This already showed one unused description where only the enum had been removed.
Change-Id: Ifdb822c25236c19dd52a3ea1370c466d66f9d11d
---
M src/gb_proxy.c
1 file changed, 11 insertions(+), 12 deletions(-)
Approvals:
osmith: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/gb_proxy.c b/src/gb_proxy.c
index 6efd326..90d587f 100644
--- a/src/gb_proxy.c
+++ b/src/gb_proxy.c
@@ -59,18 +59,17 @@
extern void *tall_sgsn_ctx;
static const struct rate_ctr_desc global_ctr_description[] = {
- { "inv-bvci", "Invalid BVC Identifier " },
- { "inv-lai", "Invalid Location Area Identifier" },
- { "inv-rai", "Invalid Routing Area Identifier " },
- { "inv-nsei", "No BVC established for NSEI " },
- { "proto-err:bss", "BSSGP protocol error (BSS )" },
- { "proto-err:sgsn", "BSSGP protocol error (SGSN)" },
- { "not-supp:bss", "Feature not supported (BSS )" },
- { "not-supp:sgsn", "Feature not supported (SGSN)" },
- { "restart:sgsn", "Restarted RESET procedure (SGSN)" },
- { "tx-err:sgsn", "NS Transmission error (SGSN)" },
- { "error", "Other error " },
- { "mod-peer-err", "Patch error: no peer " },
+ [GBPROX_GLOB_CTR_INV_BVCI] = { "inv-bvci", "Invalid BVC Identifier " },
+ [GBPROX_GLOB_CTR_INV_LAI] = { "inv-lai", "Invalid Location Area Identifier" },
+ [GBPROX_GLOB_CTR_INV_RAI] = { "inv-rai", "Invalid Routing Area Identifier " },
+ [GBPROX_GLOB_CTR_INV_NSEI] = { "inv-nsei", "No BVC established for NSEI " },
+ [GBPROX_GLOB_CTR_PROTO_ERR_BSS] = { "proto-err:bss", "BSSGP protocol error (BSS )" },
+ [GBPROX_GLOB_CTR_PROTO_ERR_SGSN] = { "proto-err:sgsn", "BSSGP protocol error (SGSN)" },
+ [GBPROX_GLOB_CTR_NOT_SUPPORTED_BSS] = { "not-supp:bss", "Feature not supported (BSS )" },
+ [GBPROX_GLOB_CTR_NOT_SUPPORTED_SGSN] = { "not-supp:sgsn", "Feature not supported (SGSN)" },
+ [GBPROX_GLOB_CTR_RESTART_RESET_SGSN] = { "restart:sgsn", "Restarted RESET procedure (SGSN)" },
+ [GBPROX_GLOB_CTR_TX_ERR_SGSN] = { "tx-err:sgsn", "NS Transmission error (SGSN)" },
+ [GBPROX_GLOB_CTR_OTHER_ERR] = { "error", "Other error " },
};
static const struct rate_ctr_group_desc global_ctrg_desc = {
--
To view, visit https://gerrit.osmocom.org/c/osmo-gbproxy/+/25636
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: Ifdb822c25236c19dd52a3ea1370c466d66f9d11d
Gerrit-Change-Number: 25636
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210929/06d6364f/attachment.htm>