Commit 10dbd236 authored by zhang jiao's avatar zhang jiao Committed by Pablo Neira Ayuso

selftests: netfilter: Add missing return value

There is no return value in count_entries, just add it.

Fixes: eff3c558 ("netfilter: ctnetlink: support filtering by zone")
Signed-off-by: default avatarzhang jiao <zhangjiao2@cmss.chinamobile.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 92ceba94
......@@ -207,6 +207,7 @@ static int conntrack_data_generate_v6(struct mnl_socket *sock,
static int count_entries(const struct nlmsghdr *nlh, void *data)
{
reply_counter++;
return MNL_CB_OK;
}
static int conntracK_count_zone(struct mnl_socket *sock, uint16_t zone)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment