提交 6350323a 编写于 作者: D David S. Miller

Merge branch 'nf' of git://1984.lsi.us.es/net

...@@ -87,10 +87,10 @@ connbytes_mt(const struct sk_buff *skb, struct xt_action_param *par) ...@@ -87,10 +87,10 @@ connbytes_mt(const struct sk_buff *skb, struct xt_action_param *par)
break; break;
} }
if (sinfo->count.to) if (sinfo->count.to >= sinfo->count.from)
return what <= sinfo->count.to && what >= sinfo->count.from; return what <= sinfo->count.to && what >= sinfo->count.from;
else else /* inverted */
return what >= sinfo->count.from; return what < sinfo->count.to || what > sinfo->count.from;
} }
static int connbytes_mt_check(const struct xt_mtchk_param *par) static int connbytes_mt_check(const struct xt_mtchk_param *par)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册