On Wed, 23 Jul 2014, Bernhard Held wrote:

the keywords `aggrmode`, `modecfgpull` and `disablearrivalcheck` have the type `kt_invertbool`. This type swaps the statuses yes/no when printed by `ipsec readwriteconf`. Consequently the output shows the opposite of the input (see attached kt_invertbool.conf and the output bad-writeconf). This looks plain wrong to me.

I fixed it by only not inverting the "val" for the kt_invertbool.

Thanks for the report and patch,

Paul
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to