summaryrefslogtreecommitdiffstats
path: root/pimd/pimd.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-10 14:50:16 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:34 +0200
commite07fe9e6585f508d4af0ace192d267e7a383c32d (patch)
tree8a4592cf6e1ce3f640ad05bf749398ac6e0650d5 /pimd/pimd.h
parentpimd: Modify pim_mroute_socket_[enable|disable] to be vrf aware (diff)
downloadfrr-e07fe9e6585f508d4af0ace192d267e7a383c32d.tar.xz
frr-e07fe9e6585f508d4af0ace192d267e7a383c32d.zip
pimd: Save pim instance on vrf pointer
This commit does these things: 1) Saves the pim instance created on the vrf pointer 2) Moves some initialization to the proper spot. 3) Remove vrf_id from 'struct pim_ssm' it is not needed 4) Removes some checks to prevent non-default vrf's from being created. 5) When creating the pim instance, save default vrf in pimg to allow backwards compatibility Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.h')
-rw-r--r--pimd/pimd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pimd.h b/pimd/pimd.h
index c2868105d..88151b0e9 100644
--- a/pimd/pimd.h
+++ b/pimd/pimd.h
@@ -237,8 +237,8 @@ enum pim_spt_switchover {
/* Per VRF PIM DB */
struct pim_instance {
- afi_t afi;
vrf_id_t vrf_id;
+ struct vrf *vrf;
struct {
enum pim_spt_switchover switchover;