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_mpls.c | |
| parent | 58cf0823bf41e104b51f2f350ee370d51734b314 (diff) | |
zebra: Add missing enums to switch statements
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_mpls.c')
| -rw-r--r-- | zebra/zebra_mpls.c | 52 | 
1 files changed, 51 insertions, 1 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index fe3f77f3c7..13963d9cc3 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -1848,7 +1848,57 @@ void zebra_mpls_lsp_dplane_result(struct zebra_dplane_ctx *ctx)  					     ZEBRA_SR_POLICY_LABEL_REMOVED);  		break; -	default: +	case DPLANE_OP_LSP_NOTIFY: +	case DPLANE_OP_NONE: +	case DPLANE_OP_ROUTE_INSTALL: +	case DPLANE_OP_ROUTE_UPDATE: +	case DPLANE_OP_ROUTE_DELETE: +	case DPLANE_OP_ROUTE_NOTIFY: +	case DPLANE_OP_NH_INSTALL: +	case DPLANE_OP_NH_UPDATE: +	case DPLANE_OP_NH_DELETE: +	case DPLANE_OP_PW_INSTALL: +	case DPLANE_OP_PW_UNINSTALL: +	case DPLANE_OP_SYS_ROUTE_ADD: +	case DPLANE_OP_SYS_ROUTE_DELETE: +	case DPLANE_OP_ADDR_INSTALL: +	case DPLANE_OP_ADDR_UNINSTALL: +	case DPLANE_OP_MAC_INSTALL: +	case DPLANE_OP_MAC_DELETE: +	case DPLANE_OP_NEIGH_INSTALL: +	case DPLANE_OP_NEIGH_UPDATE: +	case DPLANE_OP_NEIGH_DELETE: +	case DPLANE_OP_VTEP_ADD: +	case DPLANE_OP_VTEP_DELETE: +	case DPLANE_OP_RULE_ADD: +	case DPLANE_OP_RULE_DELETE: +	case DPLANE_OP_RULE_UPDATE: +	case DPLANE_OP_NEIGH_DISCOVER: +	case DPLANE_OP_BR_PORT_UPDATE: +	case DPLANE_OP_IPTABLE_ADD: +	case DPLANE_OP_IPTABLE_DELETE: +	case DPLANE_OP_IPSET_ADD: +	case DPLANE_OP_IPSET_DELETE: +	case DPLANE_OP_IPSET_ENTRY_ADD: +	case DPLANE_OP_IPSET_ENTRY_DELETE: +	case DPLANE_OP_NEIGH_IP_INSTALL: +	case DPLANE_OP_NEIGH_IP_DELETE: +	case DPLANE_OP_NEIGH_TABLE_UPDATE: +	case DPLANE_OP_GRE_SET: +	case DPLANE_OP_INTF_ADDR_ADD: +	case DPLANE_OP_INTF_ADDR_DEL: +	case DPLANE_OP_INTF_NETCONFIG: +	case DPLANE_OP_INTF_INSTALL: +	case DPLANE_OP_INTF_UPDATE: +	case DPLANE_OP_INTF_DELETE: +	case DPLANE_OP_TC_QDISC_INSTALL: +	case DPLANE_OP_TC_QDISC_UNINSTALL: +	case DPLANE_OP_TC_CLASS_ADD: +	case DPLANE_OP_TC_CLASS_DELETE: +	case DPLANE_OP_TC_CLASS_UPDATE: +	case DPLANE_OP_TC_FILTER_ADD: +	case DPLANE_OP_TC_FILTER_DELETE: +	case DPLANE_OP_TC_FILTER_UPDATE:  		break;  	} /* Switch */  | 
