diff options
| author | Russ White <russ@riw.us> | 2023-02-14 09:35:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-14 09:35:06 -0500 |
| commit | bb7f02328f849f430d55eb6a846d25e5a28fd1e5 (patch) | |
| tree | 0eb56546cca8e35e940ad9c281dc4d406b79f0c6 /zebra/redistribute.c | |
| parent | b291ddb612e6533a46cffcf62672025176fb7599 (diff) | |
| parent | 0c896167f36f0f3d264d96a03a959372a88a3b3d (diff) | |
Merge pull request #12796 from donaldsharp/routemap_debugging
Routemap debugging
Diffstat (limited to 'zebra/redistribute.c')
| -rw-r--r-- | zebra/redistribute.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 4a8fe938ed..32d28f8002 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -118,13 +118,15 @@ static void zebra_redistribute(struct zserv *client, int type, RNODE_FOREACH_RE (rn, newre) { if (IS_ZEBRA_DEBUG_RIB) zlog_debug( - "%s: client %s %pRN(%u:%u) checking: selected=%d, type=%d, distance=%d, metric=%d zebra_check_addr=%d", + "%s: client %s %pRN(%u:%u) checking: selected=%d, type=%s, instance=%u, distance=%d, metric=%d zebra_check_addr=%d", __func__, zebra_route_string(client->proto), rn, vrf_id, newre->instance, !!CHECK_FLAG(newre->flags, ZEBRA_FLAG_SELECTED), - newre->type, newre->distance, + zebra_route_string(newre->type), + newre->instance, + newre->distance, newre->metric, zebra_check_addr(&rn->p)); |
