WARNING: xt_TEE.ko needs unknown symbol ip6_route_output
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
- rename xt_portscan to xt_lscan ("low-level scan") because
"portscan" as a wor caused confusion
- revert "TEE: do not use TOS for routing"
+- xt_TEE: resolve unknown symbol error with CONFIG_IPV6=n
Xtables-addons 1.10 (February 18 2009)
# include <net/netfilter/nf_conntrack.h>
static struct nf_conn tee_track;
#endif
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
+# define WITH_IPV6 1
+#endif
#include "compat_xtables.h"
#include "xt_TEE.h"
return XT_CONTINUE;
}
+#ifdef WITH_IPV6
static bool
tee_tg_route6(struct sk_buff *skb, const struct xt_tee_tginfo *info)
{
return XT_CONTINUE;
}
+#endif /* WITH_IPV6 */
static bool tee_tg_check(const struct xt_tgchk_param *par)
{
.checkentry = tee_tg_check,
.me = THIS_MODULE,
},
+#ifdef WITH_IPV6
{
.name = "TEE",
.revision = 0,
.checkentry = tee_tg_check,
.me = THIS_MODULE,
},
+#endif
};
static int __init tee_tg_init(void)