projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
batman-adv: Use bitwise instead of arithmetic operator for flags
[cascardo/linux.git]
/
net
/
batman-adv
/
multicast.c
diff --git
a/net/batman-adv/multicast.c
b/net/batman-adv/multicast.c
index
cc91507
..
894df60
100644
(file)
--- a/
net/batman-adv/multicast.c
+++ b/
net/batman-adv/multicast.c
@@
-528,7
+528,7
@@
update:
}
return !(mcast_data.flags &
- (BATADV_MCAST_WANT_ALL_IPV4
+
BATADV_MCAST_WANT_ALL_IPV6));
+ (BATADV_MCAST_WANT_ALL_IPV4
|
BATADV_MCAST_WANT_ALL_IPV6));
}
/**