]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/em_meta.c
add missing underscore to man page and example nf_mark ematch
authorAndy Furniss <adf.lists@gmail.com>
Mon, 29 Sep 2014 19:43:01 +0000 (20:43 +0100)
committerStephen Hemminger <shemming@brocade.com>
Thu, 9 Oct 2014 15:24:00 +0000 (08:24 -0700)
commita07c6d61355a9558676d1071cb55969ce4a7d46e
tree037694e39e1d52fa4f46f309dd4c7ab3246208a7
parentc1cbb18adbf2f5abc13a840fb9dab7dd7d26b2aa
add missing underscore to man page and example nf_mark ematch

The man page and the "fail" example are missing an underscore in the
nf_mark ematch.

eg.

tc filter add dev eth0 parent ffff:  basic match 'meta(nfmark gt 24)'
classid 2:4

meta: unknown meta id

... >>meta(nfmark gt 24)<< ...
... meta(>>nfmark<< gt 24)...
Usage: meta(OBJECT { eq | lt | gt } OBJECT)
where: OBJECT  := { META_ID | VALUE }
        META_ID := id [ shift SHIFT ] [ mask MASK ]

Example: meta(nfmark gt 24)
          meta(indev shift 1 eq "ppp")
          meta(tcindex mask 0xf0 eq 0xf0)

For a list of meta identifiers, use meta(list).
Illegal "ematch"

meta(list) does correctly show nf_mark and the above test works with
nf_mark.

Signed-off-by: Andy Furniss adf.lists@gmail.com
tc/em_meta.c