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 /ospf6d/ospf6_abr.c | |
| parent | 01abb5acde5891f48491282b32a06b873be1f98a (diff) | |
| parent | 15569c58f8001d37bccaed7f99b6987315125036 (diff) | |
Merge pull request #5918 from ton31337/fix/__func__everywhere
__func__ everywhere
Diffstat (limited to 'ospf6d/ospf6_abr.c')
| -rw-r--r-- | ospf6d/ospf6_abr.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c index ff82bb1798..b0d501dab4 100644 --- a/ospf6d/ospf6_abr.c +++ b/ospf6d/ospf6_abr.c @@ -232,8 +232,8 @@ int ospf6_abr_originate_summary_to_area(struct ospf6_route *route, &route->prefix)), buf, sizeof(buf)); zlog_debug( - "%s: route %s with cost %u is not best, ignore." - , __PRETTY_FUNCTION__, buf, + "%s: route %s with cost %u is not best, ignore.", + __func__, buf, route->path.cost); } return 0; @@ -246,9 +246,10 @@ int ospf6_abr_originate_summary_to_area(struct ospf6_route *route, if (is_debug) { prefix2str(&route->prefix, buf, sizeof(buf)); - zlog_debug("%s: intra-prefix route %s with cost %u is not best, ignore." - , __PRETTY_FUNCTION__, buf, - route->path.cost); + zlog_debug( + "%s: intra-prefix route %s with cost %u is not best, ignore.", + __func__, buf, + route->path.cost); } return 0; } |
