summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-01-10 09:28:37 +0000
committerPatrick McHardy <kaber@trash.net>2014-01-10 09:28:37 +0000
commit842e591e8fbec20578d11e407e9d327f2e974276 (patch)
treed322cae4779e3190e26e630460034080c1c8be28 /src
parentf930cc50031851c6975058e33408214ad0c240b6 (diff)
nftables: shorten "could not process rule in batch" message
Remove the "in batch" part, it makes most messages exceed a single line, the user doesn't care about this and we process even single rules in "batches". Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 32a991a6..e8be423d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -183,8 +183,8 @@ static int nft_netlink(struct parser_state *state, struct list_head *msgs)
if (err->seqnum == cmd->seqnum ||
err->seqnum == batch_seqnum) {
netlink_io_error(&ctx, &cmd->location,
- "Could not process rule in batch: %s",
- strerror(err->err));
+ "Could not process rule: %s",
+ strerror(err->err));
if (err->seqnum == cmd->seqnum) {
mnl_err_list_free(err);
break;