diff options
-rw-r--r-- | src/rule.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 = ","; |