pluto: Fixed comparison of connections, if marks are specified.
This commit is contained in:
@@ -3116,6 +3116,10 @@ connection_t *route_owner(connection_t *c, struct spd_route **srp,
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (src->mark_out.value != srd->mark_out.value)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
passert(oriented(*d));
|
passert(oriented(*d));
|
||||||
if (srd->routing > best_routing)
|
if (srd->routing > best_routing)
|
||||||
{
|
{
|
||||||
@@ -3136,6 +3140,10 @@ connection_t *route_owner(connection_t *c, struct spd_route **srp,
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (src->mark_in.value != srd->mark_in.value)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (srd->routing > best_erouting)
|
if (srd->routing > best_erouting)
|
||||||
{
|
{
|
||||||
best_ero = d;
|
best_ero = d;
|
||||||
|
|||||||
Reference in New Issue
Block a user