Message ID | 20230920142958.566615-2-thaller@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | various cleanups related to enums and struct datatype | expand |
Applied, thanks
diff --git a/src/meta.c b/src/meta.c index d8fc5f585e74..181e111cbbdc 100644 --- a/src/meta.c +++ b/src/meta.c @@ -968,8 +968,8 @@ struct stmt *meta_stmt_alloc(const struct location *loc, enum nft_meta_keys key, stmt->meta.key = key; stmt->meta.expr = expr; - if (key < array_size(meta_templates)) - stmt->meta.tmpl = &meta_templates[key]; + if (key < array_size(meta_templates)) + stmt->meta.tmpl = &meta_templates[key]; return stmt; }
Signed-off-by: Thomas Haller <thaller@redhat.com> --- src/meta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)