diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-01-30 10:05:58 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-01-31 15:15:42 -0500 | 
| commit | a98701f0531c54e425ef4ffa5f3f2c67aad2ae17 (patch) | |
| tree | a687a0a3d59723339d3e6f111ce9539e73b9382e /zebra/zebra_pbr.c | |
| parent | 58cf0823bf41e104b51f2f350ee370d51734b314 (diff) | |
zebra: Add missing enums to switch statements
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_pbr.c')
| -rw-r--r-- | zebra/zebra_pbr.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c index 405241fc22..b94fabacfb 100644 --- a/zebra/zebra_pbr.c +++ b/zebra/zebra_pbr.c @@ -648,7 +648,8 @@ static void zebra_pbr_expand_rule(struct zebra_pbr_rule *rule)  			zebra_neigh_ref(action->ifindex, &ip, rule);  			break; -		default: +		case NEXTHOP_TYPE_BLACKHOLE: +		case NEXTHOP_TYPE_IFINDEX:  			action->afi = AFI_UNSPEC;  		}  	}  | 
