diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-09-14 13:18:37 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-09-19 19:03:50 +0200 |
commit | 5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6 (patch) | |
tree | 9b085f44775dd772b794c6713897e37130a2037f /pimd/pim_zlookup.c | |
parent | Merge pull request #14299 from SaiGomathiN/14286 (diff) | |
download | frr-5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6.tar.xz frr-5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6.zip |
pimd: Use a better name for oil_parent
Use oil_incoming_vif instead of oil_parent. I had
to go look this up as that I failed to remember that
the linux kernel calls this parent for some bizarre
reason.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r-- | pimd/pim_zlookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_zlookup.c b/pimd/pim_zlookup.c index c9f4d7a5a..6a026f994 100644 --- a/pimd/pim_zlookup.c +++ b/pimd/pim_zlookup.c @@ -497,13 +497,13 @@ int pim_zlookup_sg_statistics(struct channel_oil *c_oil) int ret; pim_sgaddr more = {}; struct interface *ifp = - pim_if_find_by_vif_index(c_oil->pim, *oil_parent(c_oil)); + pim_if_find_by_vif_index(c_oil->pim, *oil_incoming_vif(c_oil)); if (PIM_DEBUG_ZEBRA) { more.src = *oil_origin(c_oil); more.grp = *oil_mcastgrp(c_oil); zlog_debug("Sending Request for New Channel Oil Information%pSG VIIF %d(%s:%s)", - &more, *oil_parent(c_oil), + &more, *oil_incoming_vif(c_oil), ifp ? ifp->name : "Unknown", c_oil->pim->vrf->name); } |