Router Alert option for IGMP packets but not for PIM packets
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c
index 8e6c559..00fc8ed 100644
--- a/pimd/pim_sock.c
+++ b/pimd/pim_sock.c
@@ -111,8 +111,8 @@
   }
 
   
-  /* Set router alert (RFC 2113) */
-  {
+  /* Set router alert (RFC 2113) for all IGMP messages (RFC 3376 4. Message Formats)*/
+  if (protocol == IPPROTO_IGMP) {
     char ra[4];
     ra[0] = 148;
     ra[1] = 4;