Re: delete-sa-01 test

[email protected]
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>


> p1st = find_phase1_state(st->st_connection, TRUE);
> if (p1st == NULL)
> {
>     DBG(DBG_CONTROL, DBG_log("no Phase 1 state for Delete"));
>     return;
> }

find_phase1_state has changed in 2.00:
1.99: find_phase1_state(const struct connection *c, bool established)
2.00: find_phase1_state(const struct connection *c, lset_t ok_states)

You'll have to use:
  p1st = find_phase1_state(st->st_connection, ISAKMP_SA_ESTABLISHED_STATES);

--
Math.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.