From 931686d211731d0732770affc44c68c5b20643b8 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sat, 28 Aug 2021 20:38:21 +0100 Subject: doc: fix typo's in example. Use the right group number in nflog_bind_group example. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- src/libnetfilter_log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libnetfilter_log.c') diff --git a/src/libnetfilter_log.c b/src/libnetfilter_log.c index 567049c..339f286 100644 --- a/src/libnetfilter_log.c +++ b/src/libnetfilter_log.c @@ -182,10 +182,10 @@ struct nfnl_handle *nflog_nfnlh(struct nflog_handle *h) * * Here's a little code snippet that binds to the group 100: * \verbatim - printf("binding this socket to group 0\n"); - qh = nflog_bind_group(h, 0); + printf("binding this socket to group 100\n"); + qh = nflog_bind_group(h, 100); if (!qh) { - fprintf(stderr, "no handle for grup 0\n"); + fprintf(stderr, "no handle for group 100\n"); exit(1); } -- cgit v1.2.3