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