summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-05 19:17:54 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-05 19:23:23 +0100
commit15569c58f8001d37bccaed7f99b6987315125036 (patch)
treeb81f9925182682ee2ad7fd969eb1de6f0072ccf8 /ripd
parenttools: Add Coccinelle script to replace __FUNCTION__ to __func__ (diff)
downloadfrr-15569c58f8001d37bccaed7f99b6987315125036.tar.xz
frr-15569c58f8001d37bccaed7f99b6987315125036.zip
*: Replace __PRETTY_FUNCTION__/__FUNCTION__ to __func__
Just keep the code cool. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_routemap.c b/ripd/rip_routemap.c
index 102b64df6..77c2db8ce 100644
--- a/ripd/rip_routemap.c
+++ b/ripd/rip_routemap.c
@@ -468,7 +468,7 @@ static void *route_set_metric_compile(const char *arg)
if (metric > RIP_METRIC_INFINITY) {
zlog_info(
"%s: Metric specified: %ld is greater than RIP_METRIC_INFINITY, using INFINITY instead",
- __PRETTY_FUNCTION__, metric);
+ __func__, metric);
mod->metric = RIP_METRIC_INFINITY;
} else
mod->metric = metric;