]> git.proxmox.com Git - mirror_frr.git/commit
pim6d: Return type and parameter changes for api pim_rp_del_config
authorMobashshera Rasool <mrasool@vmware.com>
Wed, 2 Feb 2022 15:36:47 +0000 (07:36 -0800)
committerMobashshera Rasool <mrasool@vmware.com>
Tue, 8 Mar 2022 08:57:51 +0000 (00:57 -0800)
commit99384c6e4d46be59835286f5b0459eb08f3931ab
treefcd679f23d65d08299bc7ffcbff11831eeaa6998
parent4fc1f59ea748d57f4e1a32d974aaad1a3b6bdd0b
pim6d: Return type and parameter changes for api pim_rp_del_config

1. Return value of this function pim_rp_del_config is nowhere used.
So made it as a void function.
2. Paramater const char *rp is first converted to string from prefix
in the caller and then back to prefix in this api pim_rp_del_config.
Fixed it by directly passing the address instead of string.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
pimd/pim_rp.c
pimd/pim_rp.h