fix tinc configuration target

This commit is contained in:
yrutschle 2020-07-29 22:31:02 +02:00
parent 99d4a6d4a2
commit 08ce89b6e2
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/* Generated by conf2struct (https://www.rutschle.net/tech/conf2struct/README)
* on Fri Jul 24 16:29:39 2020.
* on Wed Jul 29 22:30:25 2020.
# conf2struct: generate libconf parsers that read to structs
# Copyright (C) 2018-2019 Yves Rutschle
@ -896,7 +896,7 @@ static struct compound_cl_target sslhcfg_xmpp_targets [] = {
};
static struct compound_cl_target sslhcfg_tinc_targets [] = {
{ & table_sslhcfg_protocols[0], 0, .value.def_string = "openvpn" },
{ & table_sslhcfg_protocols[0], 0, .value.def_string = "tinc" },
{ & table_sslhcfg_protocols[1], 1, .value.def_string = "0" },
{ & table_sslhcfg_protocols[2], 2, .value.def_string = "0" },
{ & table_sslhcfg_protocols[6], 0, .value.def_int = 1 },
@ -996,7 +996,7 @@ static struct compound_cl_arg compound_cl_args[] = {
.override_desc = & table_sslhcfg_protocols [0],
.override_matchindex = 0,
.override_const = "openvpn",
.override_const = "tinc",
},
{ /* arg: xmpp */

View File

@ -1,5 +1,5 @@
/* Generated by conf2struct (https://www.rutschle.net/tech/conf2struct/README)
* on Fri Jul 24 16:29:39 2020.
* on Wed Jul 29 22:30:25 2020.
# conf2struct: generate libconf parsers that read to structs
# Copyright (C) 2018-2019 Yves Rutschle

View File

@ -162,7 +162,7 @@ cl_groups: (
override: "name";
argdesc: "<host:port>";
targets: (
{ path: "name"; value: "openvpn" },
{ path: "name"; value: "tinc" },
{ path: "host"; value: "$1" },
{ path: "port"; value: "$2" },
{ path: "log_level"; value: 1 },