diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-02 18:23:11 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:38 -0400 |
| commit | 11699c47885e64a7e48576cb5a6e220c346f071f (patch) | |
| tree | 7c6e2211726c970ee674e4542c415f8d015d4b50 /pimd/pim_pim.c | |
| parent | 1ef8c24eb9307ab385bc5599f5f6f38e8dd0bda0 (diff) | |
pimd: Don't send hello's out vrf interface
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_pim.c')
| -rw-r--r-- | pimd/pim_pim.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c index 8840abd888..be5bcee5db 100644 --- a/pimd/pim_pim.c +++ b/pimd/pim_pim.c @@ -667,13 +667,9 @@ static int hello_send(struct interface *ifp, uint16_t holdtime) static int pim_hello_send(struct interface *ifp, uint16_t holdtime) { - struct pim_interface *pim_ifp; - - zassert(ifp); - pim_ifp = ifp->info; - zassert(pim_ifp); + struct pim_interface *pim_ifp = ifp->info; - if (if_is_loopback(ifp)) + if (pim_if_is_loopback(pim_ifp->pim, ifp)) return 0; if (hello_send(ifp, holdtime)) { |
