diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lb/lb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lb/lb.c b/src/plugins/lb/lb.c index b1e0b237478..6c9ae605ceb 100644 --- a/src/plugins/lb/lb.c +++ b/src/plugins/lb/lb.c @@ -903,6 +903,8 @@ static void lb_vip_add_adjacency(lb_main_t *lbm, lb_vip_t *vip, if (!lb_vip_port_find_diff_port(&(vip->prefix), vip->plen, vip->protocol, vip->port, &vip_idx)) { + lb_vip_t *exists_vip = lb_vip_get_by_index(vip_idx); + *vip_prefix_index = exists_vip->vip_prefix_index; return; } |