|
@@ -364,7 +364,7 @@ ipt_do_table(struct sk_buff *skb,
|
|
goto no_match;
|
|
goto no_match;
|
|
}
|
|
}
|
|
|
|
|
|
- ADD_COUNTER(e->counters, ntohs(ip->tot_len), 1);
|
|
|
|
|
|
+ ADD_COUNTER(e->counters, skb->len, 1);
|
|
|
|
|
|
t = ipt_get_target(e);
|
|
t = ipt_get_target(e);
|
|
IP_NF_ASSERT(t->u.kernel.target);
|
|
IP_NF_ASSERT(t->u.kernel.target);
|