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

Commit b49faea7 authored by Dave Jones's avatar Dave Jones Committed by Pablo Neira Ayuso
Browse files

netfilter: ipset: fix incorret comparison in hash_netnet4_data_equal()



Both sides of the comparison are the same, looks like a cut-and-paste error.

Spotted by Coverity.

Signed-off-by: default avatarDave Jones <davej@fedoraproject.org>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 2c7a9dc1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ hash_netnet4_data_equal(const struct hash_netnet4_elem *ip1,
		     u32 *multi)
{
	return ip1->ipcmp == ip2->ipcmp &&
	       ip2->ccmp == ip2->ccmp;
	       ip1->ccmp == ip2->ccmp;
}

static inline int