summaryrefslogtreecommitdiff
path: root/staticd/static_zebra.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2020-03-05 17:37:03 -0500
committerGitHub <noreply@github.com>2020-03-05 17:37:03 -0500
commit498897d8d837f2abee51a0064ee45c639340c5bb (patch)
tree45010659cdd6fc20103db249e24b9501c8f11e29 /staticd/static_zebra.c
parent01abb5acde5891f48491282b32a06b873be1f98a (diff)
parent15569c58f8001d37bccaed7f99b6987315125036 (diff)
Merge pull request #5918 from ton31337/fix/__func__everywhere
__func__ everywhere
Diffstat (limited to 'staticd/static_zebra.c')
-rw-r--r--staticd/static_zebra.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c
index 42646d15bc..5cadf34365 100644
--- a/staticd/static_zebra.c
+++ b/staticd/static_zebra.c
@@ -122,12 +122,13 @@ static int route_notify_owner(ZAPI_CALLBACK_ARGS)
case ZAPI_ROUTE_FAIL_INSTALL:
static_nht_mark_state(&p, vrf_id, STATIC_NOT_INSTALLED);
zlog_warn("%s: Route %s failed to install for table: %u",
- __PRETTY_FUNCTION__, buf, table_id);
+ __func__, buf, table_id);
break;
case ZAPI_ROUTE_BETTER_ADMIN_WON:
static_nht_mark_state(&p, vrf_id, STATIC_NOT_INSTALLED);
- zlog_warn("%s: Route %s over-ridden by better route for table: %u",
- __PRETTY_FUNCTION__, buf, table_id);
+ zlog_warn(
+ "%s: Route %s over-ridden by better route for table: %u",
+ __func__, buf, table_id);
break;
case ZAPI_ROUTE_INSTALLED:
static_nht_mark_state(&p, vrf_id, STATIC_INSTALLED);
@@ -138,7 +139,7 @@ static int route_notify_owner(ZAPI_CALLBACK_ARGS)
case ZAPI_ROUTE_REMOVE_FAIL:
static_nht_mark_state(&p, vrf_id, STATIC_INSTALLED);
zlog_warn("%s: Route %s failure to remove for table: %u",
- __PRETTY_FUNCTION__, buf, table_id);
+ __func__, buf, table_id);
break;
}
@@ -335,8 +336,7 @@ void static_zebra_nht_register(struct route_node *rn,
}
if (zclient_send_rnh(zclient, cmd, &p, false, si->nh_vrf_id) < 0)
- zlog_warn("%s: Failure to send nexthop to zebra",
- __PRETTY_FUNCTION__);
+ zlog_warn("%s: Failure to send nexthop to zebra", __func__);
}
extern void static_zebra_route_add(struct route_node *rn,