summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_inat.c
Commit message (Collapse)AuthorAgeFilesLines
* extensions: use __attribute__((constructor)) for autoregistrationJan Engelhardt2018-07-021-2/+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-2/+2
| | | | | | | | | 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>
* general cleanup + add -C and -cBart De Schuymer2005-02-081-0/+8
|
* '!' in --i[ds]nat-list changed to '_', because '!' is a special in bashgborowiak2003-09-071-25/+25
| | | | Also transformed to new fashion (print_mac, named field in structure)
* Initial releasegborowiak2003-09-071-0/+379