commit | df4044b2cbe0015d06d25de25e640fca231243dd | [log] [tgz] |
---|---|---|
author | Leonard Herve <leonardherve@yahoo.fr> | Fri Aug 14 10:38:52 2009 +0200 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Feb 04 06:07:50 2015 +0100 |
tree | a4dd57c802866bc4ffb5b50e98989916fce79a5f | |
parent | 613938d48abb863660691641a5761f10402cf3f3 [diff] |
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;