summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-30 16:05:58 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-01-31 21:15:42 +0100
commita98701f0531c54e425ef4ffa5f3f2c67aad2ae17 (patch)
treea687a0a3d59723339d3e6f111ce9539e73b9382e /zebra/kernel_socket.c
parentbgpd: Add missing enum's to case statement (diff)
downloadfrr-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.c3
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;
}