summaryrefslogtreecommitdiff
path: root/pimd/pim_join.c
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 08:47:33 -0800
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 08:47:33 -0800
commit1b249e70979b5cd625dc221a77c82f8b10236066 (patch)
tree791e675827b02b335e336368fc8347fdabdd87ce /pimd/pim_join.c
parenta6f6907031a98c8b801c5b435aad53cd177bc680 (diff)
pimd: update add_oif and del_oif debugs to print caller
These logs were printing file name which has little value (is always pim_oil.c). Instead print the caller. add_oif/del_oif are being called directly from one too many. Instead OIF setup needs to be consolidated via the PIM state machine. These debugs are expected to help in understanding what needs to be cleaned up. Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_join.c')
-rw-r--r--pimd/pim_join.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c
index 842d6684b5..fcd93bcf24 100644
--- a/pimd/pim_join.c
+++ b/pimd/pim_join.c
@@ -340,7 +340,8 @@ int pim_joinprune_recv(struct interface *ifp, struct pim_neighbor *neigh,
pim_channel_del_oif(
up->channel_oil,
starg_ch->interface,
- PIM_OIF_FLAG_PROTO_STAR);
+ PIM_OIF_FLAG_PROTO_STAR,
+ __func__);
}
}
}