]> git.proxmox.com Git - mirror_frr.git/commit - lib/if.c
lib: Add missing enum values in switch statement for if_link_type_str
authorDonald Sharp <sharpd@nvidia.com>
Wed, 13 Oct 2021 11:58:37 +0000 (07:58 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 13 Oct 2021 11:58:37 +0000 (07:58 -0400)
commitba62a5c522432a4e8ecbf2307324cb384b4dd7e2
tree2f23ac5ef90a1918b9cfd356b0a2c74fda9a73ae
parent314479e1141d93da2874bbadb2639677d58090cd
lib: Add missing enum values in switch statement for if_link_type_str

The switch statement over `enum zebra_link_type` had a default
and FRR was missing a few of the pre-defined types we cared about.
Remove the default statement and add the missing values.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/if.c