All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mr Dash Four <mr.dash.four@googlemail.com>
To: netfilter-devel@vger.kernel.org
Subject: ipset nomatch not showing
Date: Fri, 23 Mar 2012 12:58:16 +0000	[thread overview]
Message-ID: <4F6C7368.3040905@googlemail.com> (raw)

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

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."

             reply	other threads:[~2012-03-23 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 12:58 Mr Dash Four [this message]
2012-03-23 20:00 ` ipset nomatch not showing Jozsef Kadlecsik
2012-03-23 20:06   ` Mr Dash Four
2012-03-26  8:56     ` Jozsef Kadlecsik
2012-03-30 16:09       ` Mr Dash Four

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6C7368.3040905@googlemail.com \
    --to=mr.dash.four@googlemail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.