Hi Vit, > Even though the documentation suggests that the value of the "up" parameter > should be "yes or no", it's either up=yes, or the key is omitted.
This seems to be the case for all Boolean keys returned by VICI commands (with the exception of "success"). Granted, the documentation of these keys often says something like: up = <yes, if up event> In regards to backwards compatibility, fixing the documentation might be better. Because users who noticed that "no" is never sent and now just check for the existence of the "up" key would have to change their code if we suddenly started to send back "no". In [1] I documented that status quo. Regards, Tobias [1] https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=6f557710 _______________________________________________ Dev mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/dev
