Package: nextepc / 0.3.10+nods-3

0004-Fix-spelling-errors.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Mon, 27 Aug 2018 17:37:36 +0200
Subject: Fix spelling errors

---
 lib/gtp/gtp_xact.c        |  2 +-
 lib/ipfw/ipfw2.c          |  2 +-
 src/common/context.c      |  2 +-
 src/epc.c                 | 10 +++++-----
 src/hss.c                 |  2 +-
 src/mme.c                 |  2 +-
 src/mme/mme_context.c     |  4 ++--
 src/pcrf.c                |  2 +-
 src/pcrf/pcrf_gx_path.c   |  2 +-
 src/pgw.c                 |  2 +-
 src/pgw/pgw_gtp_path.c    |  2 +-
 src/pgw/pgw_s5c_handler.c |  2 +-
 src/sgw.c                 |  2 +-
 src/sgw/sgw_s11_handler.c | 10 +++++-----
 test/volte/testapp.c      | 10 +++++-----
 15 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/lib/gtp/gtp_xact.c b/lib/gtp/gtp_xact.c
index 386eff0..d3eeb9d 100644
--- a/lib/gtp/gtp_xact.c
+++ b/lib/gtp/gtp_xact.c
@@ -640,7 +640,7 @@ status_t gtp_xact_timeout(index_t index, c_uintptr_t event)
         }
         else
         {
-            d_warn("[%d] %s No Reponse. Give up! "
+            d_warn("[%d] %s No Response. Give up! "
                     "for step %d type %d peer [%s]:%d",
                     xact->xid,
                     xact->org == GTP_LOCAL_ORIGINATOR ? "LOCAL " : "REMOTE",
diff --git a/lib/ipfw/ipfw2.c b/lib/ipfw/ipfw2.c
index b8ef6ee..949bc8f 100644
--- a/lib/ipfw/ipfw2.c
+++ b/lib/ipfw/ipfw2.c
@@ -3767,7 +3767,7 @@ chkarg:
 		        action->arg1 = strtoul(*av, NULL, 10);
 			if (sysctlbyname("net.fibs", &numfibs, &intsize,
 			    NULL, 0) == -1)
-				errx(EX_DATAERR, "fibs not suported.\n");
+				errx(EX_DATAERR, "fibs not supported.\n");
 			if (action->arg1 >= numfibs)  /* Temporary */
 				errx(EX_DATAERR, "fib too large.\n");
 			/* Add high-order bit to fib to make room for tablearg*/
diff --git a/src/common/context.c b/src/common/context.c
index f4f6144..b18c379 100644
--- a/src/common/context.c
+++ b/src/common/context.c
@@ -407,7 +407,7 @@ status_t context_db_init(const char *db_uri)
     if (!context_mongoc_client_get_server_status(
                 self.db_client, NULL, &reply, &error)) 
     {
-        d_error("Failed to conect to server [%s]", db_uri);
+        d_error("Failed to connect to server [%s]", db_uri);
         return CORE_EAGAIN;
     }
 
diff --git a/src/epc.c b/src/epc.c
index e0d02ce..5db54dd 100644
--- a/src/epc.c
+++ b/src/epc.c
@@ -54,7 +54,7 @@ status_t app_initialize(
         {
             d_trace(1, "PCRF try to initialize\n");
             rv = pcrf_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize PCRF");
+            d_assert(rv == CORE_OK,, "Failed to initialize PCRF");
             d_trace(1, "PCRF initialize...done\n");
 
             if (pcrf_sem1) semaphore_post(pcrf_sem1);
@@ -102,7 +102,7 @@ status_t app_initialize(
 
             d_trace(1, "PGW try to initialize\n");
             rv = pgw_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize PGW");
+            d_assert(rv == CORE_OK,, "Failed to initialize PGW");
             d_trace(1, "PGW initialize...done\n");
 
             if (pgw_sem1) semaphore_post(pgw_sem1);
@@ -152,7 +152,7 @@ status_t app_initialize(
 
             d_trace(1, "SGW try to initialize\n");
             rv = sgw_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize SGW");
+            d_assert(rv == CORE_OK,, "Failed to initialize SGW");
             d_trace(1, "SGW initialize...done\n");
 
             if (sgw_sem1) semaphore_post(sgw_sem1);
@@ -204,7 +204,7 @@ status_t app_initialize(
 
             d_trace(1, "HSS try to initialize\n");
             rv = hss_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize HSS");
+            d_assert(rv == CORE_OK,, "Failed to initialize HSS");
             d_trace(1, "HSS initialize...done\n");
 
             if (hss_sem1) semaphore_post(hss_sem1);
@@ -237,7 +237,7 @@ status_t app_initialize(
 
     d_trace(1, "MME try to initialize\n");
     rv = mme_initialize();
-    d_assert(rv == CORE_OK, return rv, "Failed to intialize MME");
+    d_assert(rv == CORE_OK, return rv, "Failed to initialize MME");
     d_trace(1, "MME initialize...done\n");
 
     return CORE_OK;;
diff --git a/src/hss.c b/src/hss.c
index f11793e..f292ad9 100644
--- a/src/hss.c
+++ b/src/hss.c
@@ -31,7 +31,7 @@ status_t app_initialize(
     rv = hss_initialize();
     if (rv != CORE_OK)
     {
-        d_error("Failed to intialize HSS");
+        d_error("Failed to initialize HSS");
         return rv;
     }
     d_trace(1, "HSS initialize...done\n");
diff --git a/src/mme.c b/src/mme.c
index 86a372f..8639fa2 100644
--- a/src/mme.c
+++ b/src/mme.c
@@ -31,7 +31,7 @@ status_t app_initialize(
     rv = mme_initialize();
     if (rv != CORE_OK)
     {
-        d_error("Failed to intialize MME");
+        d_error("Failed to initialize MME");
         return rv;
     }
     d_trace(1, "MME initialize...done\n");
diff --git a/src/mme/mme_context.c b/src/mme/mme_context.c
index a8977f1..0b9117f 100644
--- a/src/mme/mme_context.c
+++ b/src/mme/mme_context.c
@@ -2147,7 +2147,7 @@ mme_ue_t* mme_ue_find_by_message(nas_message_t *message)
                 }
                 default:
                 {
-                    d_error("Uknown message imsi type =%d\n",
+                    d_error("Unknown message imsi type =%d\n",
                             eps_mobile_identity->imsi.type);
                     break;
                 }
@@ -2199,7 +2199,7 @@ mme_ue_t* mme_ue_find_by_message(nas_message_t *message)
                 }
                 default:
                 {
-                    d_error("Uknown message imsi type =%d\n",
+                    d_error("Unknown message imsi type =%d\n",
                             eps_mobile_identity->imsi.type);
                     break;
                 }
diff --git a/src/pcrf.c b/src/pcrf.c
index c47575c..09a1153 100644
--- a/src/pcrf.c
+++ b/src/pcrf.c
@@ -31,7 +31,7 @@ status_t app_initialize(
     rv = pcrf_initialize();
     if (rv != CORE_OK)
     {
-        d_error("Failed to intialize PCRF");
+        d_error("Failed to initialize PCRF");
         return rv;
     }
     d_trace(1, "PCRF initialize...done\n");
diff --git a/src/pcrf/pcrf_gx_path.c b/src/pcrf/pcrf_gx_path.c
index 3e099fc..1ea3ea2 100644
--- a/src/pcrf/pcrf_gx_path.c
+++ b/src/pcrf/pcrf_gx_path.c
@@ -1428,7 +1428,7 @@ static status_t flow_rx_to_gx(flow_t *rx_flow, flow_t *gx_flow)
     }
     else
     {
-        d_error("Invalid Flow Descripton : [%s]", rx_flow->description);
+        d_error("Invalid Flow Description : [%s]", rx_flow->description);
         return CORE_ERROR;
     }
 
diff --git a/src/pgw.c b/src/pgw.c
index 20beef7..a0cbe12 100644
--- a/src/pgw.c
+++ b/src/pgw.c
@@ -31,7 +31,7 @@ status_t app_initialize(
     rv = pgw_initialize();
     if (rv != CORE_OK)
     {
-        d_error("Failed to intialize PGW");
+        d_error("Failed to initialize PGW");
         return rv;
     }
     d_trace(1, "PGW initialize...done\n");
diff --git a/src/pgw/pgw_gtp_path.c b/src/pgw/pgw_gtp_path.c
index 9e46a26..af5a723 100644
--- a/src/pgw/pgw_gtp_path.c
+++ b/src/pgw/pgw_gtp_path.c
@@ -490,7 +490,7 @@ static status_t pgw_gtp_send_router_advertisement(
     memcpy(ip6_h->ip6_dst.s6_addr, ip6_dst, IPV6_LEN);
     
     rv = pgw_gtp_send_to_bearer(bearer, pkbuf);
-    d_assert(rv == CORE_OK,, "pgw_gtp_send_to_bearer() faild");
+    d_assert(rv == CORE_OK,, "pgw_gtp_send_to_bearer() failed");
 
     d_trace(5, "[PGW]      Router Advertisement\n");
 
diff --git a/src/pgw/pgw_s5c_handler.c b/src/pgw/pgw_s5c_handler.c
index bf5c0ab..2610947 100644
--- a/src/pgw/pgw_s5c_handler.c
+++ b/src/pgw/pgw_s5c_handler.c
@@ -31,7 +31,7 @@ void pgw_s5c_handle_create_session_request(
     bearer = pgw_default_bearer_in_sess(sess);
     d_assert(bearer, return, "Null param");
 
-    d_trace(3, "[PGW] Create Session Reqeust\n");
+    d_trace(3, "[PGW] Create Session Request\n");
     if (req->imsi.presence == 0)
     {
         d_error("No IMSI");
diff --git a/src/sgw.c b/src/sgw.c
index 2fe59ff..6f12fcb 100644
--- a/src/sgw.c
+++ b/src/sgw.c
@@ -31,7 +31,7 @@ status_t app_initialize(
     rv = sgw_initialize();
     if (rv != CORE_OK)
     {
-        d_error("Failed to intialize SGW");
+        d_error("Failed to initialize SGW");
         return rv;
     }
     d_trace(1, "SGW initialize...done\n");
diff --git a/src/sgw/sgw_s11_handler.c b/src/sgw/sgw_s11_handler.c
index 1f7b25d..dca9a68 100644
--- a/src/sgw/sgw_s11_handler.c
+++ b/src/sgw/sgw_s11_handler.c
@@ -38,7 +38,7 @@ void sgw_s11_handle_create_session_request(
 
     req = &gtp_message->create_session_request;
 
-    d_trace(3, "[SGW] Create Session Reqeust\n");
+    d_trace(3, "[SGW] Create Session Request\n");
     if (req->bearer_contexts_to_be_created.presence == 0)
     {
         d_error("No Bearer");
@@ -192,7 +192,7 @@ CORE_DECLARE(void) sgw_s11_handle_modify_bearer_request(gtp_xact_t *s11_xact,
     d_assert(sgw_ue, return, "Null param");
     d_assert(req, return, "Null param");
 
-    d_trace(3, "[SGW] Modify Bearer Reqeust\n");
+    d_trace(3, "[SGW] Modify Bearer Request\n");
     if (req->bearer_contexts_to_be_modified.presence == 0)
     {
         d_error("No Bearer");
@@ -343,7 +343,7 @@ void sgw_s11_handle_delete_session_request(gtp_xact_t *s11_xact,
     req = &gtp_message->delete_session_request;
     d_assert(req, return, "Null param");
 
-    d_trace(3, "[SGW] Delete Session Reqeust\n");
+    d_trace(3, "[SGW] Delete Session Request\n");
     if (req->linked_eps_bearer_id.presence == 0)
     {
         d_error("No EPS Bearer ID");
@@ -396,7 +396,7 @@ void sgw_s11_handle_create_bearer_response(gtp_xact_t *s11_xact,
     s5c_xact = s11_xact->assoc_xact;
     d_assert(s5c_xact, return, "Null param");
 
-    d_trace(3, "[SGW] Cerate Bearer Reqeust\n");
+    d_trace(3, "[SGW] Cerate Bearer Request\n");
     req = &gtp_message->create_bearer_response;
     d_assert(req, return, "Null param");
 
@@ -538,7 +538,7 @@ void sgw_s11_handle_update_bearer_response(gtp_xact_t *s11_xact,
     req = &gtp_message->update_bearer_response;
     d_assert(req, return, "Null param");
 
-    d_trace(3, "[SGW] Update Bearer Reqeust\n");
+    d_trace(3, "[SGW] Update Bearer Request\n");
     if (req->bearer_contexts.presence == 0)
     {
         d_error("No Bearer");
diff --git a/test/volte/testapp.c b/test/volte/testapp.c
index 1eb75ff..df89098 100644
--- a/test/volte/testapp.c
+++ b/test/volte/testapp.c
@@ -54,7 +54,7 @@ status_t test_app_initialize(
         {
             d_trace(1, "PCRF try to initialize\n");
             rv = pcrf_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize PCRF");
+            d_assert(rv == CORE_OK,, "Failed to initialize PCRF");
             d_trace(1, "PCRF initialize...done\n");
 
             if (pcrf_sem1) semaphore_post(pcrf_sem1);
@@ -102,7 +102,7 @@ status_t test_app_initialize(
 
             d_trace(1, "PGW try to initialize\n");
             rv = pgw_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize PGW");
+            d_assert(rv == CORE_OK,, "Failed to initialize PGW");
             d_trace(1, "PGW initialize...done\n");
 
             if (pgw_sem1) semaphore_post(pgw_sem1);
@@ -152,7 +152,7 @@ status_t test_app_initialize(
 
             d_trace(1, "SGW try to initialize\n");
             rv = sgw_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize SGW");
+            d_assert(rv == CORE_OK,, "Failed to initialize SGW");
             d_trace(1, "SGW initialize...done\n");
 
             if (sgw_sem1) semaphore_post(sgw_sem1);
@@ -204,7 +204,7 @@ status_t test_app_initialize(
 
             d_trace(1, "HSS try to initialize\n");
             rv = hss_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize HSS");
+            d_assert(rv == CORE_OK,, "Failed to initialize HSS");
             d_trace(1, "HSS initialize...done\n");
 
             if (hss_sem1) semaphore_post(hss_sem1);
@@ -256,7 +256,7 @@ status_t test_app_initialize(
 
             d_trace(1, "MME try to initialize\n");
             rv = mme_initialize();
-            d_assert(rv == CORE_OK,, "Failed to intialize MME");
+            d_assert(rv == CORE_OK,, "Failed to initialize MME");
             d_trace(1, "MME initialize...done\n");
 
             if (mme_sem1) semaphore_post(mme_sem1);