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:
1 parent
b0a4b7f2dd
commit
6ed63be612
22 files changed
+174
-167
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user