summaryrefslogtreecommitdiff
path: root/pimd/pim_mroute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-06-27 14:51:04 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-27 15:46:02 -0400
commit2ca35b3d73e8e3efe781990c4cf3f24853e477a5 (patch)
tree6d64493acd16ab8bbec3fc48decd58f5103368c3 /pimd/pim_mroute.c
parent8a67a996bc0e8d3ff0792e1c0b53313170545700 (diff)
pimd: When receiving the register packet, create the mroute
When a RP receives the register packet, move the (*,G) to a (S,G) route and send the pim message upstream to the source. With this change the multicast packets are sent from the source to the interested parties. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.c')
-rw-r--r--pimd/pim_mroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index 4bf490f456..624264b3b5 100644
--- a/pimd/pim_mroute.c
+++ b/pimd/pim_mroute.c
@@ -524,7 +524,7 @@ int pim_mroute_del_vif(int vif_index)
int pim_mroute_add(struct mfcctl *mc)
{
int err;
- int orig;
+ int orig = 0;
qpim_mroute_add_last = pim_time_monotonic_sec();
++qpim_mroute_add_events;