4029f393f9bbdc1f57452b50ce4109432218aa43
[feed/telephony.git] / net / kamailio / patches / 021-lcr-typos.patch
1 From 70a9ea2b1e5cceeaf050356e7baf00127a58567d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?=
3 =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= <git-dpa@aegee.org>
4 Date: Mon, 8 May 2023 13:13:49 +0200
5 Subject: [PATCH] lcr: typos
6
7 ---
8 src/modules/lcr/doc/lcr_admin.xml | 2 +-
9 src/modules/lcr/lcr_mod.c | 6 +++---
10 2 files changed, 4 insertions(+), 4 deletions(-)
11
12 --- a/src/modules/lcr/doc/lcr_admin.xml
13 +++ b/src/modules/lcr/doc/lcr_admin.xml
14 @@ -1641,7 +1641,7 @@ if (to_any_gw("192.55.66.2", 1)) {
15 <para>
16 Causes lcr module to dump the contents of its
17 in-memory lcr_rule and lcr_rule_target tables.
18 - Rules can be filetered by lcr_id or lcr_id and prefix.
19 + Rules can be filtered by lcr_id or lcr_id and prefix.
20 The filters are passed as optional parameters.
21 </para>
22 <para>Parameters:</para>
23 --- a/src/modules/lcr/lcr_mod.c
24 +++ b/src/modules/lcr/lcr_mod.c
25 @@ -188,7 +188,7 @@ unsigned int lcr_gw_count_param = DEF_LC
26 /* can gws be defuncted */
27 static unsigned int defunct_capability_param = 0;
28
29 -/* dont strip or tag param */
30 +/* don't strip or tag param */
31 static int dont_strip_or_prefix_flag_param = -1;
32
33 /* ping related params */
34 @@ -846,7 +846,7 @@ static int comp_matched(const void *m1,
35 if(mi1->priority < mi2->priority)
36 return 1;
37 if(mi1->priority == mi2->priority) {
38 - /* Sort by randomized weigth */
39 + /* Sort by randomized weight */
40 if(mi1->weight > mi2->weight)
41 return 1;
42 if(mi1->weight == mi2->weight)
43 @@ -863,7 +863,7 @@ static int comp_matched(const void *m1,
44 if(mi1->priority < mi2->priority)
45 return 1;
46 if(mi1->priority == mi2->priority) {
47 - /* Sort by randomized weigth */
48 + /* Sort by randomized weight */
49 if(mi1->weight > mi2->weight)
50 return 1;
51 if(mi1->weight == mi2->weight)