diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-03-13 22:28:27 +0100 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-03-18 16:37:47 +0100 |
| commit | f133180ee0c72f4a0de4a7acad8a9d8476914bd4 (patch) | |
| tree | 365c36aef5c5c268b4e04bf80b18efd737f86f67 /tests/py | |
| parent | 3e50cd6b063d64c2e72b0e32bc36dd5a22f75c06 (diff) | |
src: print set element with multi-word description in single one line
If the set element:
- represents a mapping
- has a timeout
- has a comment
- has counter/quota/limit
- concatenation (already printed in a single line before this patch)
ie. if the set element requires several words, then print it in one
single line.
Before this patch:
table ip x {
set y {
typeof ip saddr
counter
elements = { 192.168.10.35 counter packets 0 bytes 0, 192.168.10.101 counter packets 0 bytes 0,
192.168.10.135 counter packets 0 bytes 0 }
}
}
After this patch:
table ip x {
set y {
typeof ip saddr
counter
elements = { 192.168.10.35 counter packets 0 bytes 0,
192.168.10.101 counter packets 0 bytes 0,
192.168.10.135 counter packets 0 bytes 0 }
}
}
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py')
0 files changed, 0 insertions, 0 deletions
