diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-14 20:20:17 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 19:51:34 +0200 |
commit | c3bd5a10f10197a23063b142b260a76b29f69b1b (patch) | |
tree | edc946aad1325a54c296161fda30d4b801505766 /pimd/pim_iface.h | |
parent | pimg: Actually properly create the pim socket per vrf (diff) | |
download | frr-c3bd5a10f10197a23063b142b260a76b29f69b1b.tar.xz frr-c3bd5a10f10197a23063b142b260a76b29f69b1b.zip |
pimd: Store the pim instance off of the pim interface
Storing the pim instance off of the pim interface will allow
us to easily keep track of vrf information. This is because
pretty much is everything is interface based.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r-- | pimd/pim_iface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h index e742e68f6..9aab43ed9 100644 --- a/pimd/pim_iface.h +++ b/pimd/pim_iface.h @@ -73,6 +73,8 @@ struct pim_secondary_addr { struct pim_interface { uint32_t options; /* bit vector */ ifindex_t mroute_vif_index; + struct pim_instance *pim; + struct in_addr primary_address; /* remember addr to detect change */ struct list *sec_addr_list; /* list of struct pim_secondary_addr */ struct in_addr update_source; /* user can statically set the primary |