summaryrefslogtreecommitdiff
path: root/pimd/pim_mlag.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_mlag.c')
-rw-r--r--pimd/pim_mlag.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/pimd/pim_mlag.c b/pimd/pim_mlag.c
index 9763a79a8d..61cf2860fd 100644
--- a/pimd/pim_mlag.c
+++ b/pimd/pim_mlag.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* This is an implementation of PIM MLAG Functionality
*
@@ -6,20 +7,6 @@
* Author: sathesh Kumar karra <sathk@cumulusnetworks.com>
*
* Copyright (C) 2019 Cumulus Networks http://www.cumulusnetworks.com
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <zebra.h>
@@ -871,7 +858,11 @@ int pim_zebra_mlag_handle_msg(int cmd, struct zclient *zclient,
pim_mlag_process_mroute_del(msg);
}
} break;
- default:
+ case MLAG_MSG_NONE:
+ case MLAG_REGISTER:
+ case MLAG_DEREGISTER:
+ case MLAG_DUMP:
+ case MLAG_PIM_CFG_DUMP:
break;
}
return 0;