summaryrefslogtreecommitdiffstats
path: root/zebra/debug_nl.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2022-05-15 07:13:57 +0200
committerChirag Shah <chirag@nvidia.com>2022-05-16 17:40:19 +0200
commit865c12e1a73232079ed9d63bf30af130bb9a92aa (patch)
treeb533c91d930fde97d54a1bb0674fc5df0b009054 /zebra/debug_nl.c
parentMerge pull request #11207 from anlancs/fix/zebra-remove-check-l3vni (diff)
downloadfrr-865c12e1a73232079ed9d63bf30af130bb9a92aa.tar.xz
frr-865c12e1a73232079ed9d63bf30af130bb9a92aa.zip
zebra: add protocol name to nexthop dump
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to '')
-rw-r--r--zebra/debug_nl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/debug_nl.c b/zebra/debug_nl.c
index 98b3a9ed5..f058205c2 100644
--- a/zebra/debug_nl.c
+++ b/zebra/debug_nl.c
@@ -453,6 +453,12 @@ const char *rtm_protocol2str(int type)
return "MRT";
case RTPROT_ZEBRA:
return "ZEBRA";
+ case RTPROT_BGP:
+ return "BGP";
+ case RTPROT_ISIS:
+ return "ISIS";
+ case RTPROT_OSPF:
+ return "OSPF";
case RTPROT_BIRD:
return "BIRD";
case RTPROT_DNROUTED: