child-cfg: Use flags for boolean options
Makes it potentially easier to add new flags.
This commit is contained in:
@@ -218,7 +218,7 @@ static void log_child_sa(FILE *out, child_sa_t *child_sa, bool all)
|
||||
child_sa->get_name(child_sa), child_sa->get_unique_id(child_sa),
|
||||
child_sa_state_names, child_sa->get_state(child_sa),
|
||||
ipsec_mode_names, child_sa->get_mode(child_sa),
|
||||
config->use_proxy_mode(config) ? "_PROXY" : "",
|
||||
config->has_option(config, OPT_PROXY_MODE) ? "_PROXY" : "",
|
||||
child_sa->get_reqid(child_sa));
|
||||
|
||||
if (child_sa->get_state(child_sa) == CHILD_INSTALLED)
|
||||
|
||||
Reference in New Issue
Block a user