diff options
Diffstat (limited to 'src/libnftables.c')
-rw-r--r-- | src/libnftables.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnftables.c b/src/libnftables.c index e9dc03cf..abd133be 100644 --- a/src/libnftables.c +++ b/src/libnftables.c @@ -398,6 +398,9 @@ static int nft_evaluate(struct nft_ctx *nft, struct list_head *msgs, return -1; } + if (nft->state->nerrs) + return -1; + list_for_each_entry(cmd, cmds, list) nft_cmd_expand(cmd); |