+ // for now: ignore any stopped sessions as they will go down
+ if (p->is_dying || p->stopped_by_vpn_controller || p->stop_timestamp.tv_sec || p->stop_timestamp.tv_usec) {
+ plog(LLV_DEBUG, LOCATION, local,
+ "still searching. skipping... session to %s is already stopped, active ph1 %d ph2 %d.\n",
+ saddr2str((struct sockaddr *)&p->session_id.remote),
+ p->ikev1_state.active_ph1cnt, p->ikev1_state.active_ph2cnt);
+ continue;
+ }
+