diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2020-03-05 17:37:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 17:37:03 -0500 |
| commit | 498897d8d837f2abee51a0064ee45c639340c5bb (patch) | |
| tree | 45010659cdd6fc20103db249e24b9501c8f11e29 /pimd/pim_mlag.c | |
| parent | 01abb5acde5891f48491282b32a06b873be1f98a (diff) | |
| parent | 15569c58f8001d37bccaed7f99b6987315125036 (diff) | |
Merge pull request #5918 from ton31337/fix/__func__everywhere
__func__ everywhere
Diffstat (limited to 'pimd/pim_mlag.c')
| -rw-r--r-- | pimd/pim_mlag.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pimd/pim_mlag.c b/pimd/pim_mlag.c index 1c2f7c563d..cbde45abb8 100644 --- a/pimd/pim_mlag.c +++ b/pimd/pim_mlag.c @@ -186,13 +186,12 @@ static void pim_mlag_up_peer_add(struct mlag_mroute_add *msg) * doesn't already exist. */ if (!PIM_UPSTREAM_FLAG_TEST_MLAG_PEER(up->flags)) - pim_upstream_ref(up, - PIM_UPSTREAM_FLAG_MASK_MLAG_PEER, - __PRETTY_FUNCTION__); + pim_upstream_ref(up, PIM_UPSTREAM_FLAG_MASK_MLAG_PEER, + __func__); } else { PIM_UPSTREAM_FLAG_SET_MLAG_PEER(flags); - up = pim_upstream_add(pim, &sg, NULL /*iif*/, flags, - __PRETTY_FUNCTION__, NULL /*if_ch*/); + up = pim_upstream_add(pim, &sg, NULL /*iif*/, flags, __func__, + NULL /*if_ch*/); if (!up) { if (PIM_DEBUG_MLAG) @@ -218,7 +217,7 @@ static void pim_mlag_up_peer_deref(struct pim_instance *pim, return; PIM_UPSTREAM_FLAG_UNSET_MLAG_PEER(up->flags); - up = pim_upstream_del(pim, up, __PRETTY_FUNCTION__); + up = pim_upstream_del(pim, up, __func__); if (up) pim_mlag_up_df_role_elect(pim, up); } @@ -306,7 +305,7 @@ static void pim_mlag_up_peer_del_all(void) * This is the deletion of the reference added * above */ - pim_upstream_del(pim, up, __PRETTY_FUNCTION__); + pim_upstream_del(pim, up, __func__); } } |
