commit ba9b18dbcad853e22ea2b8ecf87d53ef2f6cf58c Author: Jamal Hadi Salim Date: Sun Apr 28 07:41:47 2013 -0400 Detect future iptable changes interfaces earlier in the dev cycles. Hopefully someone is going to complain about such breakage and we'll get the fix in sooner. Signed-off-by: Jamal Hadi Salim diff --git a/tc/m_xt.c b/tc/m_xt.c index 3edf520..b266337 100644 --- a/tc/m_xt.c +++ b/tc/m_xt.c @@ -129,6 +129,10 @@ static int parse_ipt(struct action_util *a,int *argc_p, __u32 hook = 0, index = 0; struct option *opts = NULL; +#if (XTABLES_VERSION_CODE > 7) +#error Someone call the guy who changed xtables ver 7 and \ + make him fix it^W^W^W^W say you need help. +#endif xtables_init_all(&tcipt_globals, NFPROTO_IPV4); set_lib_dir();