Expose pending NAT candidate cycles in local diagnostic status
This commit is contained in:
1 parent
858483f48c
commit
078fd5a4b2
3 files changed
+3
-4
No files matched your search
@@ -1436,7 +1436,7 @@ int nat_detection_get_status(struct NAT_DETECTION *detector, struct ETCP_SOCKET
|
||||
*status = (struct nat_check_status){.generation = socket->generation, .round = state->round, .group_id = state->group_id,
|
||||
.observer = state->observer,
|
||||
.helper = state->helper, .rounds = state->rounds, .helper_reselections = state->helper_reselections,
|
||||
.phase = state->phase, .reason = state->reason, .history_complete = state->history_complete,
|
||||
.phase = state->phase, .reason = state->reason, .history_complete = state->history_complete, .cycling = state->cycling,
|
||||
.measured_profile = state->measured_profile, .effective_profile = socket->address_profile, .fallback_allowed = state->fallback_allowed};
|
||||
return 0;
|
||||
}
|
||||
@@ -30,7 +30,7 @@ struct nat_check_status {
|
||||
uint64_t generation, round;
|
||||
uint64_t group_id, observer, helper;
|
||||
uint32_t rounds, helper_reselections;
|
||||
uint8_t phase, reason, history_complete;
|
||||
uint8_t phase, reason, history_complete, cycling;
|
||||
uint8_t fallback_allowed;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user