Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: iptables: Devel

patch/ipset: fix typo in ipset error msg: "Range to large. Max is %d IPs in range\n"

 

 

iptables devel RSS feed   Index | Next | Previous | View Threaded


NevilleD.NetFilter at sgr-a

Aug 14, 2007, 8:53 PM

Post #1 of 1 (575 views)
Permalink
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);
}

Index: netfilter/trunk/ipset/ipset_ipporthash.c
===================================================================
--- netfilter/trunk/ipset/ipset_ipporthash.c (revision 7008)
+++ netfilter/trunk/ipset/ipset_ipporthash.c (working copy)
@@ -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);
}

iptables devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.