diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-10 14:50:16 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 19:51:34 +0200 |
commit | e07fe9e6585f508d4af0ace192d267e7a383c32d (patch) | |
tree | 8a4592cf6e1ce3f640ad05bf749398ac6e0650d5 /pimd/pimd.h | |
parent | pimd: Modify pim_mroute_socket_[enable|disable] to be vrf aware (diff) | |
download | frr-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.h | 2 |
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; |