Skip to content

Commit

Permalink
lcr: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Jun 12, 2023
1 parent 40d012d commit 70a9ea2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/modules/lcr/doc/lcr_admin.xml
Expand Up @@ -1641,7 +1641,7 @@ if (to_any_gw("192.55.66.2", 1)) {
<para>
Causes lcr module to dump the contents of its
in-memory lcr_rule and lcr_rule_target tables.
Rules can be filetered by lcr_id or lcr_id and prefix.
Rules can be filtered by lcr_id or lcr_id and prefix.
The filters are passed as optional parameters.
</para>
<para>Parameters:</para>
Expand Down
6 changes: 3 additions & 3 deletions src/modules/lcr/lcr_mod.c
Expand Up @@ -188,7 +188,7 @@ unsigned int lcr_gw_count_param = DEF_LCR_GW_COUNT;
/* can gws be defuncted */
static unsigned int defunct_capability_param = 0;

/* dont strip or tag param */
/* don't strip or tag param */
static int dont_strip_or_prefix_flag_param = -1;

/* ping related params */
Expand Down Expand Up @@ -846,7 +846,7 @@ static int comp_matched(const void *m1, const void *m2)
if(mi1->priority < mi2->priority)
return 1;
if(mi1->priority == mi2->priority) {
/* Sort by randomized weigth */
/* Sort by randomized weight */
if(mi1->weight > mi2->weight)
return 1;
if(mi1->weight == mi2->weight)
Expand All @@ -863,7 +863,7 @@ static int comp_matched(const void *m1, const void *m2)
if(mi1->priority < mi2->priority)
return 1;
if(mi1->priority == mi2->priority) {
/* Sort by randomized weigth */
/* Sort by randomized weight */
if(mi1->weight > mi2->weight)
return 1;
if(mi1->weight == mi2->weight)
Expand Down

0 comments on commit 70a9ea2

Please sign in to comment.