commit | 8e36c4b5b673edc6081599b8bd461e062e4910f4 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Sat Jun 23 01:43:51 2012 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Sat Jun 23 02:13:46 2012 +0200 |
tree | 8400a62a94cf69649348e278bb76eb3f42d55efc | |
parent | ab5e8b77d53ac8d4c7d9beafc73815da00cf19a5 [diff] |
netfilter: ctnetlink: fix compilation with NF_CONNTRACK_EVENTS=n This patch fixes compilation with NF_CONNTRACK_EVENTS=n and NETFILTER_NETLINK_QUEUE_CT=y. I'm leaving all those static inline functions that calculate the size of the event message out of the ifdef area of NF_CONNTRACK_EVENTS since they will not be included by gcc in case they are unused. Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>