+ n->last_state_change = now.tv_sec;
+
+ if(n->status.reachable) {
+ logger(DEBUG_TRAFFIC, LOG_DEBUG, "Node %s (%s) became reachable",
+ n->name, n->hostname);
+
+ if(n != myself) {
+ became_reachable_count++;
+
+ if(n->connection && n->connection->outgoing) {
+ if(!n->address_cache) {
+ n->address_cache = open_address_cache(n);
+ }
+
+ add_recent_address(n->address_cache, &n->connection->address);
+ }
+ }
+ } else {
+ logger(DEBUG_TRAFFIC, LOG_DEBUG, "Node %s (%s) became unreachable",
+ n->name, n->hostname);
+
+ if(n != myself) {
+ became_unreachable_count++;
+ }
+ }
+
+ if(experimental && OPTION_VERSION(n->options) >= 2) {
+ n->status.sptps = true;
+ }