diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-21 16:16:54 -0500 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-30 09:48:38 -0800 |
commit | be3c4d4f3c14875e459d27b8b095e29af8591489 (patch) | |
tree | 0cb3e9797055ba5ae65da625705559af8bc7ea8c | |
parent | 5d8056357a032131057462fadb77c62cab6b2f0f (diff) |
m_xt: stop using xtables_set_revision()
iptables dropped the xtables_set_revision() function around version 1.4.9,
so set the rev directly ourselves. This should be compatible back to the
original version m_xt itself is designed for.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | tc/m_xt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ build_st(struct xtables_target *target, struct xt_entry_target *t) target->t = xtables_calloc(1, size); target->t->u.target_size = size; strcpy(target->t->u.user.name, target->name); - xtables_set_revision(target->t->u.user.name, target->revision); + target->t->u.user.revision = target->revision; if (target->init != NULL) target->init(target->t); |