ospfd: add redist message detail to debug

Add the specific message being processed when ospfd receives
a redistribution from zebra.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
Mark Stapp 2019-07-24 15:57:34 -04:00
parent ce935bc284
commit ae4080c5a2

View File

@ -983,7 +983,8 @@ static int ospf_zebra_read_route(ZAPI_CALLBACK_ARGS)
char buf_prefix[PREFIX_STRLEN]; char buf_prefix[PREFIX_STRLEN];
prefix2str(&api.prefix, buf_prefix, sizeof(buf_prefix)); prefix2str(&api.prefix, buf_prefix, sizeof(buf_prefix));
zlog_debug("%s: from client %s: vrf_id %d, p %s", __func__, zlog_debug("%s: cmd %s from client %s: vrf_id %d, p %s",
__func__, zserv_command_string(cmd),
zebra_route_string(api.type), vrf_id, buf_prefix); zebra_route_string(api.type), vrf_id, buf_prefix);
} }