batman-adv: properly align constant assignments

Message ID 1393082406-3615-1-git-send-email-antonio@meshcoding.com (mailing list archive)
State Accepted, archived
Commit c77850c50336970faff45cf30907d1cd6ee72ed6
Headers

Commit Message

Antonio Quartulli Feb. 22, 2014, 3:20 p.m. UTC
  All the assignments in packet.h are properly aligned.
Also the multicast constants have to have a similar shape.

Introduced by 1c090349e2f65d19a7f356cc0b61f13644c53bb6
("batman-adv: Add IPv4 link-local/IPv6-ll-all-nodes multicast support")

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
---
 packet.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Marek Lindner March 11, 2014, 10:12 a.m. UTC | #1
On Saturday 22 February 2014 16:20:06 Antonio Quartulli wrote:
> All the assignments in packet.h are properly aligned.
> Also the multicast constants have to have a similar shape.
> 
> Introduced by 1c090349e2f65d19a7f356cc0b61f13644c53bb6
> ("batman-adv: Add IPv4 link-local/IPv6-ll-all-nodes multicast support")
> 
> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
> ---
>  packet.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied in revision c77850c.

Thanks,
Marek
  

Patch

diff --git a/packet.h b/packet.h
index feaa336..c7f6eef 100644
--- a/packet.h
+++ b/packet.h
@@ -97,9 +97,9 @@  enum batadv_icmp_packettype {
  * @BATADV_MCAST_WANT_ALL_IPV6: we want all IPv6 multicast packets
  */
 enum batadv_mcast_flags {
-	BATADV_MCAST_WANT_ALL_UNSNOOPABLES = BIT(0),
-	BATADV_MCAST_WANT_ALL_IPV4 = BIT(1),
-	BATADV_MCAST_WANT_ALL_IPV6 = BIT(2),
+	BATADV_MCAST_WANT_ALL_UNSNOOPABLES	= BIT(0),
+	BATADV_MCAST_WANT_ALL_IPV4		= BIT(1),
+	BATADV_MCAST_WANT_ALL_IPV6		= BIT(2),
 };
 
 /* tt data subtypes */