diff options
| author | anlan_cs <vic.lan@pica8.com> | 2023-05-26 13:17:22 +0800 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2023-05-26 13:24:55 +0800 |
| commit | ce95ba5ab750c7505f01165d5811262065533f01 (patch) | |
| tree | 1dee7aa133283afeb2167cc074581dc73cd38c56 /lib/imsg-buffer.c | |
| parent | b570e9ce2840a3f9a39a1dc31999bf63bfc3879c (diff) | |
pimd: Fix missing promotion for primary address
Assume that `pim_ifp` has two ip (v4) addresses, one is primary, the other
is secondary. After remove primary ip, the secondary ip doesn't be promoted,
so `pim_ifp->primary_address` will wrongly be set to "0.0.0.0", it leads to
`pim_sock_delete(ifp)` on this interface.
Add the promotion for primary address.
Fixed #13590
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
