]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: add missing command DESC for MLAG messages
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Thu, 6 Feb 2020 17:30:56 +0000 (09:30 -0800)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Fri, 14 Feb 2020 17:18:30 +0000 (09:18 -0800)
This string is used in some logging for e.g. in zclient_read -
>>>>>>>>>>>>>>>>>>>>>>>>>>
    if (zclient_debug)
        zlog_debug("zclient 0x%p command %s VRF %u",
               (void *)zclient, zserv_command_string(command),
               vrf_id);
>>>>>>>>>>>>>>>>>>>>>>>>>>

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
lib/log.c

index 7bf16a82122b701f53c348adf36bf1d2b8150bd7..5240eeaf726119003d69525e151a3ee2082966cf 100644 (file)
--- a/lib/log.c
+++ b/lib/log.c
@@ -1092,6 +1092,11 @@ static const struct zebra_desc_table command_types[] = {
        DESC_ENTRY(ZEBRA_VXLAN_SG_ADD),
        DESC_ENTRY(ZEBRA_VXLAN_SG_DEL),
        DESC_ENTRY(ZEBRA_VXLAN_SG_REPLAY),
+       DESC_ENTRY(ZEBRA_MLAG_PROCESS_UP),
+       DESC_ENTRY(ZEBRA_MLAG_PROCESS_DOWN),
+       DESC_ENTRY(ZEBRA_MLAG_CLIENT_REGISTER),
+       DESC_ENTRY(ZEBRA_MLAG_CLIENT_UNREGISTER),
+       DESC_ENTRY(ZEBRA_MLAG_FORWARD_MSG),
        DESC_ENTRY(ZEBRA_ERROR),
        DESC_ENTRY(ZEBRA_CLIENT_CAPABILITIES)};
 #undef DESC_ENTRY