diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-15 13:53:04 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:40 -0400 |
| commit | 01460fbca307aabcf407e759d95ace5e1d579f8f (patch) | |
| tree | 34a3ac937525d684c0b29440ac12745ce47a8459 | |
| parent | 3af2452c048042f337a52ddb588df01569e4cf52 (diff) | |
pimd: When we get nexthops back we may not have configured pim on all intfs
Be aware that we may not have pim configured on all interfaces when
we have a failure situation.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | pimd/pim_nht.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c index eb487b9626..150820fb85 100644 --- a/pimd/pim_nht.c +++ b/pimd/pim_nht.c @@ -778,8 +778,10 @@ int pim_parse_nexthop_update(int command, struct zclient *zclient, "%s: NHT pim nbr not found on interface %s nbr count:%d ", __PRETTY_FUNCTION__, ifp1->name, - pim_ifp->pim_neighbor_list - ->count); + pim_ifp + ? pim_ifp->pim_neighbor_list + ->count + : 0); } // Mark nexthop address to 0 until PIM // Nbr is resolved. |
