summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cache.c b/src/cache.c
index b738a633..c8ef1603 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -58,8 +58,7 @@ static unsigned int evaluate_cache_add(struct cmd *cmd, unsigned int flags)
flags |= NFT_CACHE_TABLE |
NFT_CACHE_SET;
- if (cmd->handle.index.id ||
- cmd->handle.position.id)
+ if (cmd->handle.index.id)
flags |= NFT_CACHE_FULL | NFT_CACHE_UPDATE;
break;
default: