diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-11-03 16:35:45 +0000 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-11-06 08:12:04 -0500 |
| commit | 4e996e98ecca5bc92ef133ca243fcd621d7d235a (patch) | |
| tree | 17d353ee123d4a4997c7267a147e6d8ac6206d0a /zebra/zebra_vty.c | |
| parent | 5752340415f0773d0aefa92c22bc852957bfcd5c (diff) | |
zebra: Add v6_rr_semantics status to `show zebra`
The v6_rr_semantics variable was being set but never
reported and had to be inferred from watching netlink
messages to the kernel. Let's add a bit of code
to `show zebra` so that we can know how it is being
used.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index d36c2f81c7..e7a59b4700 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -4047,7 +4047,8 @@ DEFUN (show_zebra, ttable_add_row(table, "MPLS|%s", mpls_enabled ? "On" : "Off"); ttable_add_row(table, "EVPN|%s", is_evpn_enabled() ? "On" : "Off"); ttable_add_row(table, "Kernel socket buffer size|%d", rcvbufsize); - + ttable_add_row(table, "v6 Route Replace Semantics|%s", + v6_rr_semantics ? "Replace" : "Delete than Add"); #ifdef GNU_LINUX if (!vrf_is_backend_netns()) |
