diff options
| author | Rafael Zalamena <rzalamena@users.noreply.github.com> | 2024-11-21 16:10:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 16:10:42 -0300 |
| commit | a3e04a86d23ad96698a37c3fa1abcf4f59d349d7 (patch) | |
| tree | d2e14be711ead9c2cd22cd19b07c067b502b262b /pimd/pim_bsm.c | |
| parent | 0af5c2a6eb7ade86fe6fefab00d77da1cefb7ed2 (diff) | |
| parent | 13c0722b5ccc53b00d07388f7a2bddd44f05b17b (diff) | |
Merge pull request #17340 from nabahr/mapping-agent
PIMD: Implement AutoRP mapping-agent
Diffstat (limited to 'pimd/pim_bsm.c')
| -rw-r--r-- | pimd/pim_bsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c index a44e4e08f3..75104141ae 100644 --- a/pimd/pim_bsm.c +++ b/pimd/pim_bsm.c @@ -1769,14 +1769,14 @@ static inline pim_addr if_highest_addr(pim_addr cur, struct interface *ifp) return cur; } -static void cand_addrsel_clear(struct cand_addrsel *asel) +void cand_addrsel_clear(struct cand_addrsel *asel) { asel->run = false; asel->run_addr = PIMADDR_ANY; } /* returns whether address or active changed */ -static bool cand_addrsel_update(struct cand_addrsel *asel, struct vrf *vrf) +bool cand_addrsel_update(struct cand_addrsel *asel, struct vrf *vrf) { bool is_any = false, prev_run = asel->run; struct interface *ifp = NULL; |
