Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples: nf-queue: fix api usage | Florian Westphal | 2012-11-25 | 1 | -12/+12 |
| | | | | | | | | | | | 1. struct nlattr *attr[NFQA_MAX+1] must be initialized. Otherwise, attr[FOO] might be non-null after parsing even if that attribute isn't present in the message. 2. mnl_attr_get_payload will never return NULL (if the attribute is NULL, it returns MNL_ATTR_HDRLEN.) Signed-off-by: Florian Westphal <fw@strlen.de> | ||||
* | examples: nf-queue: fix compilation warning with gcc-4.7 | Pablo Neira Ayuso | 2012-08-20 | 1 | -2/+0 |
| | | | | | | | nf-queue.c: In function ‘main’: nf-queue.c:146:12: warning: unused variable ‘id’ [-Wunused-variable] Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | add new libnetfilter_queue API for libmnl | Pablo Neira Ayuso | 2012-08-06 | 2 | -0/+171 |
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |