summaryrefslogtreecommitdiff
path: root/ripngd/ripng_routemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripng_routemap.c')
-rw-r--r--ripngd/ripng_routemap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ripngd/ripng_routemap.c b/ripngd/ripng_routemap.c
index 6123591429..b5f80d2ab0 100644
--- a/ripngd/ripng_routemap.c
+++ b/ripngd/ripng_routemap.c
@@ -237,9 +237,9 @@ static void *route_set_metric_compile(const char *arg)
return mod;
if (metric > RIPNG_METRIC_INFINITY) {
- zlog_info("%s: Metric specified: %ld is being converted into METRIC_INFINITY",
- __PRETTY_FUNCTION__,
- metric);
+ zlog_info(
+ "%s: Metric specified: %ld is being converted into METRIC_INFINITY",
+ __func__, metric);
mod->metric = RIPNG_METRIC_INFINITY;
} else
mod->metric = metric;