summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_nflog.c
Commit message (Collapse)AuthorAgeFilesLines
* extensions: use __attribute__((constructor)) for autoregistrationJan Engelhardt2018-07-021-1/+1
| | | | | | | | | | | The ebtables initialization is easier, and, judging from the "static" recipe in Makefile, that calling ebt_*_register ahead of main is safe. This means that a static build won't need the pseudomain hack, and that -nostartfiles can also go away. Signed-off-by: Florian Westphal <fw@strlen.de>
* ebtables: extensions: Constify option structGargi Sharma2017-03-281-1/+1
| | | | | | | | | The struct of the type option is only used to initialise a field inside the ebt_u_watcher or ebt_u_target or ebt_u_match struct and is not modified anywhere. Signed-off-by: Gargi Sharma <gs051095@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* remove irrelevant negative value check for the result of strtoul, found by ↵Bart De Schuymer2011-06-231-7/+0
| | | | Coverity static analysis (thanks to Jiri Popelka)
* prevent source code corruption with static build (reported by Tino Keitel)Bart De Schuymer2009-02-121-2/+2
|
* add ebtables nflog support (Peter Warasin)Bart De Schuymer2008-03-171-0/+179