diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-01-30 16:09:22 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-01-31 21:15:42 +0100 |
commit | 7c734d80209a3cf36e3b31e667a53fdef6afd47a (patch) | |
tree | a7e1d8b29b2526a1423a3172760cfaa739fa0b5e /staticd/static_vty.c | |
parent | nhrpd: Add missing enum's to switch statement (diff) | |
download | frr-7c734d80209a3cf36e3b31e667a53fdef6afd47a.tar.xz frr-7c734d80209a3cf36e3b31e667a53fdef6afd47a.zip |
staticd: Add missing enum's to switch statement
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'staticd/static_vty.c')
-rw-r--r-- | staticd/static_vty.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/staticd/static_vty.c b/staticd/static_vty.c index c5bea755e..f9c88f8be 100644 --- a/staticd/static_vty.c +++ b/staticd/static_vty.c @@ -135,7 +135,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; } |