forked from Minki/linux
netfilter: ip_tables: fix compilation when debug is enabled
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
This commit is contained in:
parent
4b2cbd42be
commit
b5cad0dfd3
@ -591,7 +591,7 @@ check_entry(const struct ipt_entry *e, const char *name)
|
|||||||
const struct ipt_entry_target *t;
|
const struct ipt_entry_target *t;
|
||||||
|
|
||||||
if (!ip_checkentry(&e->ip)) {
|
if (!ip_checkentry(&e->ip)) {
|
||||||
duprintf("ip check failed %p %s.\n", e, name);
|
duprintf("ip check failed %p %s.\n", e, par->match->name);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -618,7 +618,7 @@ check_match(struct ipt_entry_match *m, struct xt_mtchk_param *par)
|
|||||||
ret = xt_check_match(par, m->u.match_size - sizeof(*m),
|
ret = xt_check_match(par, m->u.match_size - sizeof(*m),
|
||||||
ip->proto, ip->invflags & IPT_INV_PROTO);
|
ip->proto, ip->invflags & IPT_INV_PROTO);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
duprintf("check failed for `%s'.\n", par.match->name);
|
duprintf("check failed for `%s'.\n", par->match->name);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user