Skip to content
Snippets Groups Projects
Commit 683a04ce authored by Jesper Dangaard Brouer's avatar Jesper Dangaard Brouer Committed by Patrick McHardy
Browse files

netfilter: xt_hashlimit does a wrong SEQ_SKIP


The function dl_seq_show() returns 1 (equal to SEQ_SKIP) in case
a seq_printf() call return -1.  It should return -1.

This SEQ_SKIP behavior brakes processing the proc file e.g. via a
pipe or just through less.

Signed-off-by: default avatarJesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent b38b1f61
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment