mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-08 00:02:03 -04:00
child-create: Consider security label when comparing CHILD_SAs
This commit is contained in:
parent
139d655817
commit
7a8d110863
@ -1093,7 +1093,8 @@ static bool child_sa_equals(child_sa_t *a, child_sa_t *b)
|
|||||||
a->get_mark(a, TRUE).value == b->get_mark(b, TRUE).value &&
|
a->get_mark(a, TRUE).value == b->get_mark(b, TRUE).value &&
|
||||||
a->get_mark(a, FALSE).value == b->get_mark(b, FALSE).value &&
|
a->get_mark(a, FALSE).value == b->get_mark(b, FALSE).value &&
|
||||||
a->get_if_id(a, TRUE) == b->get_if_id(b, TRUE) &&
|
a->get_if_id(a, TRUE) == b->get_if_id(b, TRUE) &&
|
||||||
a->get_if_id(a, FALSE) == b->get_if_id(b, FALSE);
|
a->get_if_id(a, FALSE) == b->get_if_id(b, FALSE) &&
|
||||||
|
sec_labels_equal(a->get_label(a), b->get_label(b));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user