Allow routed observers in the NAT integration assertions

This commit is contained in:
evgeny committed 2026-10-12 19:54:39 +02:00
1 parent 3635bcf3a9
commit bb01f243fe
1 file changed
+2 -1
+2 -1
View File
@@ -147,7 +147,8 @@ int main(void) {
struct nat_check_status status;
assert(nat_detection_get_status(owner->nat_det, socket, &status) == 0);
assert(status.helper_reselections > 0 && status.helper == helper->node_id && status.observer == observer->node_id);
assert(status.group_id == TOPO_GROUP_UTUN && status.helper == helper->node_id);
assert(status.observer == observer->node_id || status.observer == same_ip->node_id);
struct nat_check_status second_status;
assert(nat_detection_get_status(owner->nat_det, second_socket, &second_status) == 0);
assert(status.round != second_status.round);