diff --git a/tc/m_ipt.c b/tc/m_ipt.c index 38d2311a..76fa768e 100644 --- a/tc/m_ipt.c +++ b/tc/m_ipt.c @@ -506,6 +506,10 @@ print_ipt(struct action_util *au,FILE * f, struct rtattr *arg) if (arg == NULL) return -1; + lib_dir = getenv("IPTABLES_LIB_DIR"); + if (!lib_dir) + lib_dir = IPT_LIB_DIR; + parse_rtattr_nested(tb, TCA_IPT_MAX, arg); if (tb[TCA_IPT_TABLE] == NULL) {