patch/ipset: fix typo in ipset error msg: "Range to large. Max is %d IPs in range\n"
Hi Pablo & others,
Here is a super minor patch.
Request for clemency in advance if there is a better way to submitting such tiny patches... a branch?
I am also reading some of the ipset's docs and would be happy to commit typo fixes once I have finished.
Pls advise
Regards
NevilleD
$ svn diff netfilter/trunk/ipset
Index: netfilter/trunk/ipset/ipset_ipmap.c
===================================================================
--- netfilter/trunk/ipset/ipset_ipmap.c (revision 7008)
+++ netfilter/trunk/ipset/ipset_ipmap.c (working copy)
@@ -191,7 +191,7 @@
}
if (range > MAX_RANGE)
exit_error(PARAMETER_PROBLEM,
- "Range to large. Max is %d IPs in range\n",
+ "Range too large. Max is %d IPs in range\n",
MAX_RANGE+1);
}trunk/ipset/ipset_ipporthash.c (working copy) renamed from trunk/ipset/ipset_ipporthash.c (revision 7008) +1 -1
@@ -181,7 +181,7 @@ if (mydata->to - mydata->from > MAX_RANGE) exit_error(PARAMETER_PROBLEM, - "Range to large. Max is %d IPs in range\n", + "Range too large. Max is %d IPs in range\n", MAX_RANGE+1); }