peer-cfg: Use flags for boolean options

Makes it potentially easier to add new flags.

The mediation flag is not converted as the #ifdefs make it awkward.
This commit is contained in:
Tobias Brunner committed 2025-04-10 08:31:09 +02:00
1 parent b0a4b7f2dd
commit 6ed63be612
22 files changed
+174 -167

No files matched your search

+1 -1
View File
@@ -265,7 +265,7 @@ static peer_cfg_t *load_peer_config(private_config_t *this,
.cert_policy = CERT_ALWAYS_SEND,
.unique = UNIQUE_NO,
.keyingtries = 1,
.no_mobike = TRUE,
.options = OPT_NO_MOBIKE,
};
ike_cfg = load_ike_config(this, settings, config);