diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-01-30 16:05:58 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-01-31 21:15:42 +0100 |
commit | a98701f0531c54e425ef4ffa5f3f2c67aad2ae17 (patch) | |
tree | a687a0a3d59723339d3e6f111ce9539e73b9382e /zebra/kernel_socket.c | |
parent | bgpd: Add missing enum's to case statement (diff) | |
download | frr-a98701f0531c54e425ef4ffa5f3f2c67aad2ae17.tar.xz frr-a98701f0531c54e425ef4ffa5f3f2c67aad2ae17.zip |
zebra: Add missing enums to switch statements
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r-- | zebra/kernel_socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 684ccc3ed..332b8fc67 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -1226,7 +1226,8 @@ int rtm_write(int message, union sockunion *dest, union sockunion *mask, case BLACKHOLE_REJECT: msg.rtm.rtm_flags |= RTF_REJECT; break; - default: + case BLACKHOLE_NULL: + case BLACKHOLE_ADMINPROHIB: msg.rtm.rtm_flags |= RTF_BLACKHOLE; break; } |