|
@@ -171,7 +171,7 @@ __be32 inet_confirm_addr(struct net *net, struct in_device *in_dev, __be32 dst,
|
|
|
__be32 local, int scope);
|
|
|
struct in_ifaddr *inet_ifa_byprefix(struct in_device *in_dev, __be32 prefix,
|
|
|
__be32 mask);
|
|
|
-static __inline__ int inet_ifa_match(__be32 addr, struct in_ifaddr *ifa)
|
|
|
+static __inline__ bool inet_ifa_match(__be32 addr, struct in_ifaddr *ifa)
|
|
|
{
|
|
|
return !((addr^ifa->ifa_address)&ifa->ifa_mask);
|
|
|
}
|