mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:11:36 +00:00
pimd: result was already tested against PIM_GROUP_BAD_ADDR_MASK_COMBO
The result variable was already tested against PIM_GROUP_BAD_ADDR_MASK_COMBO earlier in the function. No need to do the same thing twice. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
4d19a911c5
commit
253283d742
@ -5996,12 +5996,6 @@ static int pim_rp_cmd_worker(struct pim_instance *pim, struct vty *vty,
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
|
||||
if (result == PIM_GROUP_BAD_ADDR_MASK_COMBO) {
|
||||
vty_out(vty, "%% Inconsistent address and mask: %s\n",
|
||||
group);
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user