summaryrefslogtreecommitdiff
path: root/pimd/pim_vxlan.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-12-03 07:58:47 -0500
committerDonald Sharp <sharpd@nvidia.com>2021-12-03 07:58:47 -0500
commit7f5faf7c765e9ddc0a9c9344be23b9134ddb45ca (patch)
treeb17e67e387cad288bc56efa4e838b061d1681e07 /pimd/pim_vxlan.c
parent6b74db7544b3570ea7e2a5c0608755702cdce394 (diff)
pimd: Clean up switch statement to our standards
Fixup the switch statement to not have a default statement with a enum as the case. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_vxlan.c')
-rw-r--r--pimd/pim_vxlan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c
index 22b14eecf9..4bed52a584 100644
--- a/pimd/pim_vxlan.c
+++ b/pimd/pim_vxlan.c
@@ -406,7 +406,9 @@ static void pim_vxlan_orig_mr_up_add(struct pim_vxlan_sg *vxlan_sg)
pim_vxlan_update_sg_reg_state(pim, up, true);
break;
- default:;
+ case PIM_REG_JOIN_PENDING:
+ case PIM_REG_PRUNE:
+ break;
}
/* update the inherited OIL */