diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-20 13:43:58 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:36 -0400 |
| commit | d9c9a9ee063076ebc5df578049bf95cc19a35d2d (patch) | |
| tree | 44419e3a6dd73941403b5caa08d16b08952933ac /pimd/pim_msdp.c | |
| parent | 9b29ea95fc5b03de64cf9de55a89894deaed17e7 (diff) | |
pimd: Convert pim_rp.c to use 'struct pim_instance *'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msdp.c')
| -rw-r--r-- | pimd/pim_msdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_msdp.c b/pimd/pim_msdp.c index 3f8ab37491..8e118ae3af 100644 --- a/pimd/pim_msdp.c +++ b/pimd/pim_msdp.c @@ -138,7 +138,7 @@ static bool pim_msdp_sa_upstream_add_ok(struct pim_msdp_sa *sa, return false; } /* check if we are RP */ - if (!I_am_RP(sa->sg.grp)) { + if (!I_am_RP(pimg, sa->sg.grp)) { return false; } @@ -447,7 +447,7 @@ static bool pim_msdp_sa_local_add_ok(struct pim_upstream *up) return false; } - if (!I_am_RP(up->sg.grp)) { + if (!I_am_RP(pimg, up->sg.grp)) { /* we are not RP for the group */ return false; } |
