Message ID | CAF=yD-L_yCTpaqM2dGYzMr38oHQBYJ+A62SW0LEfwG2JC3eOtA@mail.gmail.com |
---|---|
State | RFC |
Delegated to: | Pablo Neira |
Headers | show |
diff --git a/iptables/iptables.c b/iptables/iptables.c index 540d111..ada7c94 100644 --- a/iptables/iptables.c +++ b/iptables/iptables.c @@ -504,7 +504,8 @@ print_match(const struct xt_entry_match *m, xtables_find_match(m->u.user.name, XTF_TRY_LOAD, NULL); if (match) { - if (match->print) + if (match->print && + m->u.user.revision == match->revision) match->print(ip, m, numeric); else printf("%s ", match->name);