diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-03-06 16:16:02 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-06 16:16:02 -0300 |
| commit | 3c685e64ff0529cf5bf949dca0b63faf8b79ccb6 (patch) | |
| tree | 1f1d7fa1e9f47f3b7b3d312ed94685b84c781081 /pimd/pim_zebra.c | |
| parent | 9c37fcdddaee63dbd71d8dac1d5a54add74e2665 (diff) | |
| parent | 5e81f5dd1a2dd82ee6aa08f4a9375e4cd83407a0 (diff) | |
Merge pull request #5924 from donaldsharp/more_func
*: Finish off the __PRETTY_FUNCTION__ to __func__
Diffstat (limited to 'pimd/pim_zebra.c')
| -rw-r--r-- | pimd/pim_zebra.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index 13d6a2eea8..e791500ede 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -89,8 +89,8 @@ static void dump_if_address(struct interface *ifp) struct connected *ifc; struct listnode *node; - zlog_debug("%s %s: interface %s addresses:", __FILE__, - __PRETTY_FUNCTION__, ifp->name); + zlog_debug("%s %s: interface %s addresses:", __FILE__, __func__, + ifp->name); for (ALL_LIST_ELEMENTS_RO(ifp->connected, node, ifc)) { struct prefix *p = ifc->address; @@ -99,8 +99,7 @@ static void dump_if_address(struct interface *ifp) continue; zlog_debug("%s %s: interface %s address %s %s", __FILE__, - __PRETTY_FUNCTION__, ifp->name, - inet_ntoa(p->u.prefix4), + __func__, ifp->name, inet_ntoa(p->u.prefix4), CHECK_FLAG(ifc->flags, ZEBRA_IFA_SECONDARY) ? "secondary" : "primary"); |
