Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | parser_bison: keep map flag around when flags are specified | Pablo Neira Ayuso | 2016-07-27 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | If you add a map with timeouts, eg. # nft add table x # nft add map x y { type ipv4_addr : ipv4_addr\; flags timeout\; } The listing shows a set instead of a map: # nft list ruleset table ip x { set y { type ipv4_addr flags timeout } } This patch fixes the parser to keep the map flag around when timeout flag (or any other flags) are specified. This patch also comes with a regression test. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | tests/shell: add maps tests cases | Arturo Borrero | 2015-12-18 | 2 | -0/+18 |
Let's add some tests cases for maps. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |