[Swan-dev] [PATCH] fix status of "invertpool" keywords

Paul Wouters paul at nohats.ca
Sun Aug 17 05:09:27 EEST 2014

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,


More information about the Swan-dev mailing list