summaryrefslogtreecommitdiff
path: root/staticd/static_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_vty.c')
-rw-r--r--staticd/static_vty.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/staticd/static_vty.c b/staticd/static_vty.c
index c5bea755ec..d87ca16c61 100644
--- a/staticd/static_vty.c
+++ b/staticd/static_vty.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* STATICd - vty code
* Copyright (C) 2018 Cumulus Networks, Inc.
* Donald Sharp
- *
- * 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>
@@ -135,7 +122,9 @@ static int static_route_nb_run(struct vty *vty, struct static_route_args *args)
if (args->source)
assert(!!str2prefix(args->source, &src));
break;
- default:
+ case AFI_L2VPN:
+ case AFI_UNSPEC:
+ case AFI_MAX:
break;
}