]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd: debug msg: display distance when adding redist route
authorG. Paul Ziemba <paulz@labn.net>
Sat, 3 Mar 2018 21:22:29 +0000 (13:22 -0800)
committerLou Berger <lberger@labn.net>
Fri, 9 Mar 2018 21:42:40 +0000 (16:42 -0500)
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
isisd/isis_redist.c

index 198cf35e686a7e03de78165f257880cdbbe5ebce..48fcf449c761dffa9063dbc02a89202e1c4d1863 100644 (file)
@@ -254,8 +254,8 @@ void isis_redist_add(int type, struct prefix *p, u_char distance,
        char debug_buf[BUFSIZ];
        prefix2str(p, debug_buf, sizeof(debug_buf));
 
-       zlog_debug("%s: New route %s from %s.", __func__, debug_buf,
-                  zebra_route_string(type));
+       zlog_debug("%s: New route %s from %s: distance %d.", __func__,
+                  debug_buf, zebra_route_string(type), distance);
 
        if (!ei_table) {
                zlog_warn("%s: External information table not initialized.",