summaryrefslogtreecommitdiffstats
path: root/pimd/pim_instance.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-20 17:18:14 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 18:23:39 +0100
commitd17612dd6ac42042859b991b8f23f0c99705d8f5 (patch)
tree51ee8a0e597a5975e6c645912542bc11a9904667 /pimd/pim_instance.h
parentpimd: Convert qpim_t_periodic into the `struct pim_router` structure (diff)
downloadfrr-d17612dd6ac42042859b991b8f23f0c99705d8f5.tar.xz
frr-d17612dd6ac42042859b991b8f23f0c99705d8f5.zip
pimd: Move the infinite_assert_metric global to pim_router
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.h')
-rw-r--r--pimd/pim_instance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h
index ed8ecdcaa..9f36b9c30 100644
--- a/pimd/pim_instance.h
+++ b/pimd/pim_instance.h
@@ -23,6 +23,7 @@
#include "pim_str.h"
#include "pim_msdp.h"
+#include "pim_assert.h"
#if defined(HAVE_LINUX_MROUTE_H)
#include <linux/mroute.h>
@@ -35,6 +36,7 @@
#define MAXVIFS (256)
#endif
#endif
+
extern struct pim_instance *pimg; // Pim Global Instance
enum pim_spt_switchover {
@@ -48,6 +50,7 @@ struct pim_router {
uint32_t debugs;
int t_periodic;
+ struct pim_assert_metric infinite_assert_metric;
};
/* Per VRF PIM DB */