[Swan-dev] Preference on label kind
Paul Wouters
paul at nohats.ca
Sat Mar 27 02:38:55 UTC 2021
Sent from my iPhone
Begin forwarded message:
> Perhaps this is a mistake: before 8d1f8aec2ca811954811337008b4aee1a8900286
> st->st_acquired_sec_label had priority over st->st_seen_sec_label.
> This was reversed by 8d1f8aec2ca811954811337008b4aee1a8900286.
> I don't know if this reversal was intentional
I noticed that too at the time.
In theory, a state either got triggered by an acquire (local) or by a ike response with seen notify (remote). Since both can never be true for a single state, I gave the local acquires preference over the remote seen values.
Maybe a pexpect / passert could be used, but I felt that needed more thought.
It’s also why I didn’t object to the change you observed.
Paul
More information about the Swan-dev
mailing list