summaryrefslogtreecommitdiff
path: root/pimd/pim_oil.h
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2019-03-31 23:38:28 -0700
committerSarita Patra <saritap@vmware.com>2019-03-31 23:38:28 -0700
commite7cd85bda76820933a10d59d0376985fa4b10fd9 (patch)
treed059bbd9dcf17b9dce66dd698e1129714d7c2e62 /pimd/pim_oil.h
parentecedbaa13b8f39011c8c3feed163b293605447de (diff)
pimd: Introduce mroute_creation in channel oil data structure
Issue: (*,G) mroute uptime is not updated in mroute table, after deleting and adding the RP Root cause: When RP gets deleted or becomes not reachable, then we un-install the entry from the kernel, but still maintains the entry in the stack. When RP gets re-configured or becomes reachable, "show ip mroute" shows the uptime, when the channel_oil gets created. Fix: Introduce a new time mroute_creation in the channel_oil, gets updated when mroute gets installed in the kernel. Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_oil.h')
-rw-r--r--pimd/pim_oil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_oil.h b/pimd/pim_oil.h
index 5dd4e8b326..8b95324142 100644
--- a/pimd/pim_oil.h
+++ b/pimd/pim_oil.h
@@ -97,6 +97,7 @@ struct channel_oil {
uint32_t oif_flags[MAXVIFS];
struct channel_counts cc;
struct pim_upstream *up;
+ time_t mroute_creation;
};
extern struct list *pim_channel_oil_list;