summaryrefslogtreecommitdiffstats
path: root/lib/mlag.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-27 14:42:58 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-01-31 18:29:08 +0100
commit5c2605480283ddd3e688339dc437cb84b1c459dc (patch)
tree6ad12e8d0b381a75521a3eb446d566c930ede510 /lib/mlag.c
parentbgpd: ecommunity_token_rt6 is not handled (diff)
downloadfrr-5c2605480283ddd3e688339dc437cb84b1c459dc.tar.xz
frr-5c2605480283ddd3e688339dc437cb84b1c459dc.zip
lib: Adding missing string to switch statement in mlag.c
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/mlag.c')
-rw-r--r--lib/mlag.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mlag.c b/lib/mlag.c
index 653fbe8fe..9f346d77b 100644
--- a/lib/mlag.c
+++ b/lib/mlag.c
@@ -73,7 +73,10 @@ char *mlag_lib_msgid_to_str(enum mlag_msg_type msg_type, char *buf, size_t size)
case MLAG_PEER_FRR_STATUS:
snprintf(buf, size, "Mlag Peer FRR Status");
break;
- default:
+ case MLAG_PIM_CFG_DUMP:
+ snprintf(buf, size, "Mlag Pim Configuration Dump");
+ break;
+ case MLAG_MSG_NONE:
snprintf(buf, size, "Unknown %d", msg_type);
break;
}