Re: ipset nomatch not showing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 23 Mar 2012, Mr Dash Four wrote:

> If I create a set using the following set of statements:
> 
> ipset n test-net hash:net family inet timeout 0 hashsize 64
> ipset a test-net 10.1.1.0/24
> ipset a test-net 10.1.1.2 nomatch
> 
> and then issue "ipset l test-net" I get this:
> Header: family inet hashsize 64 maxelem 65536 timeout 0
> Size in memory: 924
> References: 0
> Members:
> 10.1.1.0/24 timeout 0
> 10.1.1.2 timeout 0

I can't reproduce this. What is your kernel version, ipset version and how 
did you install the ipset kernel modules: from the ipset package or the 
modules came together with the kernel.
 
> It is not clear whether the "nomatch" option on the 10.1.1.2 member I 
> used above is in fact non matching. Am I missing something?
> 
> Also, a minor nitpick on some of the help text displayed using "ipset help":
> -n
>        When listing, list just setnames from kernel.
> 
> It should be "When listing, just list setnames from the kernel."
> 
> -!
>        Ignore errors when creating already created sets,
>        when adding already existing elements
>        or when deleting non-existing elements.
> 
> It should be "Ignore errors when creating or adding sets or elements that do
> exist or when deleting elements that don't exist."

Thanks, I correct the help text messages.

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux