summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rule.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rule.c b/src/rule.c
index 188fc062..0a1d6317 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -383,12 +383,16 @@ static void set_print_declaration(const struct set *set,
if (set->timeout)
flags &= ~NFT_SET_TIMEOUT;
- if (flags & (NFT_SET_CONSTANT | NFT_SET_INTERVAL | NFT_SET_TIMEOUT)) {
+ if (flags & (NFT_SET_CONSTANT | NFT_SET_INTERVAL | NFT_SET_TIMEOUT | NFT_SET_EVAL)) {
nft_print(octx, "%s%sflags ", opts->tab, opts->tab);
if (set->flags & NFT_SET_CONSTANT) {
nft_print(octx, "%sconstant", delim);
delim = ",";
}
+ if (set->flags & NFT_SET_EVAL) {
+ nft_print(octx, "%sdynamic", delim);
+ delim = ",";
+ }
if (set->flags & NFT_SET_INTERVAL) {
nft_print(octx, "%sinterval", delim);
delim = ",";