Allow routed observers in the NAT integration assertions
This commit is contained in:
1 parent
3635bcf3a9
commit
bb01f243fe
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user