diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-01-30 16:10:45 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-01-31 21:15:59 +0100 |
commit | 9d5cc4b5b737071d328b88e1a3dc3deea3f51cd8 (patch) | |
tree | d822f51564323341e8b8467ef42fdd8913b3e316 /pbrd | |
parent | ospfd: Add missing enum's to switch statement (diff) | |
download | frr-9d5cc4b5b737071d328b88e1a3dc3deea3f51cd8.tar.xz frr-9d5cc4b5b737071d328b88e1a3dc3deea3f51cd8.zip |
pbrd: Add missing enum's to switch statement
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pbrd')
-rw-r--r-- | pbrd/pbr_nht.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c index 298c96151..b48670d5b 100644 --- a/pbrd/pbr_nht.c +++ b/pbrd/pbr_nht.c @@ -547,7 +547,8 @@ void pbr_nht_set_seq_nhg_data(struct pbr_map_sequence *pbrms, case NEXTHOP_TYPE_IPV4: case NEXTHOP_TYPE_IPV4_IFINDEX: pbrms->family = AF_INET; - default: + case NEXTHOP_TYPE_IFINDEX: + case NEXTHOP_TYPE_BLACKHOLE: break; } } |