From: Changli Gao Date: Fri, 23 Jul 2010 11:27:08 +0000 (+0200) Subject: netfilter: nf_nat_core: merge the same lines X-Git-Tag: v2.6.36-rc1~571^2~46^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c36952e524b2b898a3c9e9b137f64d72d43cd393;p=pandora-kernel.git netfilter: nf_nat_core: merge the same lines proto->unique_tuple() will be called finally, if the previous calls fail. This patch checks the false condition of (range->flags &IP_NAT_RANGE_PROTO_RANDOM) instead to avoid duplicate line of code: proto->unique_tuple(). Signed-off-by: Changli Gao Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed