Change in ...osmo-sgsn[master]: Spelling fixes

Hoernchen gerrit-no-reply at lists.osmocom.org
Tue Jul 16 19:57:14 UTC 2019


Hello Ruben Undheim,

I'd like you to do a code review. Please visit

    https://gerrit.osmocom.org/c/osmo-sgsn/+/14815

to review the following change.


Change subject: Spelling fixes
......................................................................

Spelling fixes

Change-Id: Id1511c5022a239db5d0b44ec7adf048cca307751
---
M src/gprs/gprs_gmm.c
M src/gprs/gprs_sgsn.c
M src/gprs/gprs_sndcp_dcomp.c
M src/gprs/gprs_sndcp_pcomp.c
M src/gprs/gtphub_main.c
M src/gprs/sgsn_vty.c
6 files changed, 11 insertions(+), 11 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/15/14815/1

diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index e7f0bfe..3465a52 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -2213,7 +2213,7 @@
 
 		rc = gsm48_tx_gmm_auth_ciph_req(mm, &at->vec, at->key_seq, false);
 		if (rc < 0)
-			LOGMMCTXP(LOGL_ERROR, mm, "failed sending Auth. & Ciph. Reuqest: %s \n", strerror(-rc));
+			LOGMMCTXP(LOGL_ERROR, mm, "failed sending Auth. & Ciph. Request: %s \n", strerror(-rc));
 		else
 			osmo_timer_schedule(&mm->timer, sgsn->cfg.timers.T3360, 0);
 		break;
diff --git a/src/gprs/gprs_sgsn.c b/src/gprs/gprs_sgsn.c
index 8d3de7b..fae09ae 100644
--- a/src/gprs/gprs_sgsn.c
+++ b/src/gprs/gprs_sgsn.c
@@ -103,9 +103,9 @@
 
 static const struct rate_ctr_desc sgsn_ctr_description[] = {
 	{ "llc:dl_bytes", "Count sent LLC bytes before giving it to the bssgp layer" },
-	{ "llc:ul_bytes", "Count sucessful received LLC bytes (encrypt & fcs correct)" },
-	{ "llc:dl_packets", "Count sucessful sent LLC packets before giving it to the bssgp layer" },
-	{ "llc:ul_packets", "Count sucessful received LLC packets (encrypt & fcs correct)" },
+	{ "llc:ul_bytes", "Count successful received LLC bytes (encrypt & fcs correct)" },
+	{ "llc:dl_packets", "Count successful sent LLC packets before giving it to the bssgp layer" },
+	{ "llc:ul_packets", "Count successful received LLC packets (encrypt & fcs correct)" },
 	{ "gprs:attach_requested", "Received attach requests" },
 	{ "gprs:attach_accepted", "Sent attach accepts" },
 	{ "gprs:attach_rejected", "Sent attach rejects" },
diff --git a/src/gprs/gprs_sndcp_dcomp.c b/src/gprs/gprs_sndcp_dcomp.c
index 00e40a7..c0da84d 100644
--- a/src/gprs/gprs_sndcp_dcomp.c
+++ b/src/gprs/gprs_sndcp_dcomp.c
@@ -94,7 +94,7 @@
 				&rx_v42bis_data_handler, NULL,
 				V42BIS_MAX_OUTPUT_LENGTH);
 		LOGP(DSNDCP, LOGL_INFO,
-		     "V.42bis data compression initalized.\n");
+		     "V.42bis data compression initialized.\n");
 		return 0;
 	}
 
diff --git a/src/gprs/gprs_sndcp_pcomp.c b/src/gprs/gprs_sndcp_pcomp.c
index 5f7f22a..8c2fc97 100644
--- a/src/gprs/gprs_sndcp_pcomp.c
+++ b/src/gprs/gprs_sndcp_pcomp.c
@@ -59,7 +59,7 @@
 		    slhc_init(ctx, comp_field->rfc1144_params->s01 + 1,
 			      comp_field->rfc1144_params->s01 + 1);
 		LOGP(DSNDCP, LOGL_INFO,
-		     "RFC1144 header compression initalized.\n");
+		     "RFC1144 header compression initialized.\n");
 		return 0;
 	}
 
diff --git a/src/gprs/gtphub_main.c b/src/gprs/gtphub_main.c
index 0369ed7..585a3cb 100644
--- a/src/gprs/gtphub_main.c
+++ b/src/gprs/gtphub_main.c
@@ -243,7 +243,7 @@
 
 static void list_categories(void)
 {
-	printf("Avaliable debug categories:\n");
+	printf("Available debug categories:\n");
 	int i;
 	for (i = 0; i < gtphub_log_info.num_cat; ++i) {
 		if (!gtphub_log_info.cat[i].name)
diff --git a/src/gprs/sgsn_vty.c b/src/gprs/sgsn_vty.c
index edc5b09..d1d53e6 100644
--- a/src/gprs/sgsn_vty.c
+++ b/src/gprs/sgsn_vty.c
@@ -1309,7 +1309,7 @@
 DEFUN(cfg_comp_rfc1144, cfg_comp_rfc1144_cmd,
       "compression rfc1144 active slots <1-256>",
       COMPRESSION_STR
-      "RFC1144 Header compresion scheme\n"
+      "RFC1144 Header compression scheme\n"
       "Compression is actively proposed\n"
       "Number of compression state slots\n"
       "Number of compression state slots\n")
@@ -1323,7 +1323,7 @@
 DEFUN(cfg_comp_rfc1144p, cfg_comp_rfc1144p_cmd,
       "compression rfc1144 passive",
       COMPRESSION_STR
-      "RFC1144 Header compresion scheme\n"
+      "RFC1144 Header compression scheme\n"
       "Compression is available on request\n")
 {
 	g_cfg->pcomp_rfc1144.active = 0;
@@ -1343,7 +1343,7 @@
 DEFUN(cfg_comp_v42bis, cfg_comp_v42bis_cmd,
       "compression v42bis active direction (ms|sgsn|both) codewords <512-65535> strlen <6-250>",
       COMPRESSION_STR
-      "V.42bis data compresion scheme\n"
+      "V.42bis data compression scheme\n"
       "Compression is actively proposed\n"
       "Direction in which the compression shall be active (p0)\n"
       "Compress ms->sgsn direction only\n"
@@ -1376,7 +1376,7 @@
 DEFUN(cfg_comp_v42bisp, cfg_comp_v42bisp_cmd,
       "compression v42bis passive",
       COMPRESSION_STR
-      "V.42bis data compresion scheme\n"
+      "V.42bis data compression scheme\n"
       "Compression is available on request\n")
 {
 	g_cfg->dcomp_v42bis.active = 0;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/14815
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Id1511c5022a239db5d0b44ec7adf048cca307751
Gerrit-Change-Number: 14815
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Ruben Undheim <ruben.undheim at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190716/d452962d/attachment.html>


More information about the gerrit-log mailing list