summaryrefslogtreecommitdiff
path: root/lib/openbsd-queue.h
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2023-05-26 13:17:22 +0800
committeranlan_cs <vic.lan@pica8.com>2023-05-26 13:24:55 +0800
commitce95ba5ab750c7505f01165d5811262065533f01 (patch)
tree1dee7aa133283afeb2167cc074581dc73cd38c56 /lib/openbsd-queue.h
parentb570e9ce2840a3f9a39a1dc31999bf63bfc3879c (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/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions