Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6350323a authored by David S. Miller's avatar David S. Miller
Browse files

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

parents 0fd7bac6 0354b48f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -87,10 +87,10 @@ connbytes_mt(const struct sk_buff *skb, struct xt_action_param *par)
		break;
	}

	if (sinfo->count.to)
	if (sinfo->count.to >= sinfo->count.from)
		return what <= sinfo->count.to && what >= sinfo->count.from;
	else
		return what >= sinfo->count.from;
	else /* inverted */
		return what < sinfo->count.to || what > sinfo->count.from;
}

static int connbytes_mt_check(const struct xt_mtchk_param *par)