diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-12-12 22:44:29 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-12-13 08:28:42 -0300 |
| commit | a507ca11633672fb9ab0b5bac8116a130494b6af (patch) | |
| tree | 1e46165be7401e3dd023c860c5b9bd35f5b3d6f1 /pimd/pim_memory.c | |
| parent | f7720ab68fcfb24e7fa51f682d248086c45ef85a (diff) | |
pimd,pim6d: optimize multicast prefix generation
Fix Coverity Scan CID 1602463: make it impossible for the function to fail.
Hardcode the multicast prefix generation instead of calling `str2prefix()`
which caused unnecessary memory allocations and returned error values.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_memory.c')
0 files changed, 0 insertions, 0 deletions
