Fix routes inverted delete/add in cluster mode
This commit is contained in:
parent
709b2b0419
commit
0e8cec8fc1
1 changed files with 5 additions and 1 deletions
|
|
@ -1014,7 +1014,11 @@ int cluster_listinvert_session(int sidnew, int sidtodel)
|
||||||
|
|
||||||
if ( cluster_changes[i].id == sidnew && cluster_changes[i].type == C_CSESSION)
|
if ( cluster_changes[i].id == sidnew && cluster_changes[i].type == C_CSESSION)
|
||||||
{
|
{
|
||||||
|
if (session[i].tunnel != T_FREE)
|
||||||
inew = i;
|
inew = i;
|
||||||
|
else
|
||||||
|
return 0; // This a free session no invert.
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue