]> git.puffer.fish Git - mirror/frr.git/commit
pimd: mtrace router code improvments and fixes 1931/head
authorMladen Sablic <mladen.sablic@gmail.com>
Mon, 19 Mar 2018 16:36:29 +0000 (17:36 +0100)
committerMladen Sablic <mladen.sablic@gmail.com>
Thu, 22 Mar 2018 21:05:28 +0000 (22:05 +0100)
commit7fb82673cab9d27116152e97aaaaaa9a40b31702
tree52bcdb909ea59089b497929ee0c1acf9d7292b5a
parente1d4b1fbe4fe955bf33684f83930ae6d2708885e
pimd: mtrace router code improvments and fixes

Mtrace router code has been fixed for the case where no PIM
interface exists towards the source and next-hop is returned.

fwd_ttl is set to one, for correct reporting of mcast ttl.

Also, NO_MULTICAST error is returned when there is no PIM.

And prev_hop is set to source, for case when connected to source,
to help termination of hop-by-hop queries.

Dependency of logging on PIM, when sending mtrace packet, has been
removed.

Signed-off-by: Mladen Sablic <mladen.sablic@gmail.com>
pimd/pim_igmp_mtrace.c