Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libxtables: prefix exported new functions for etherdb lookups | Pablo Neira Ayuso | 2018-10-20 | 1 | -11/+11 |
| | | | | | | | | | | To avoid symbol pollution, place them under the xt_ and xtables_ prefix name. Fixes: 31f1434dfe37 ("libxtables: Integrate getethertype.c from xtables core") Reported-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Acked-by: Phil Sutter <phil@nwl.cc> | ||||
* | libxtables: Integrate getethertype.c from xtables core | Phil Sutter | 2018-09-24 | 1 | -0/+161 |
This moves getethertype.c into libxtables so that both extensions and xtables-nft-multi may use the implementations therein. New users are libebt_arp and libebt_vlan which drop their own duplicated implementations of getethertypebyname() for the shared one. This change originated from a covscan report of extensions' implementations not checking fopen() return value which should be implicitly fixed by this as well. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de> |