vrrp: fix update virtual addr make mistake 79/37879/5
authorgaochx <chiso.gao@gmail.com>
Mon, 9 Jan 2023 09:56:09 +0000 (17:56 +0800)
committerMatthew Smith <mgsmith@netgate.com>
Tue, 10 Jan 2023 15:20:08 +0000 (15:20 +0000)
commit2b1b1154c41679d43bf9abbaf8787a284b05786b
tree6cb278e2bd92552855854aa03906649eba9fca3c
parentc21775bd5c64ae99556761df01b7a06690de3df9
vrrp: fix update virtual addr make mistake

When use update api delete a virtual address, no matter which IP want to delete, always delete the last one.

Type: fix

Signed-off-by: GaoChX <chiso.gao@gmail.com>
Change-Id: Ia67c06dd53a442740794e1884d1a4aaa06965398
src/plugins/vrrp/vrrp.c