diff --git a/COGNAC b/COGNAC index ae53687..2ed83d7 160000 --- a/COGNAC +++ b/COGNAC @@ -1 +1 @@ -Subproject commit ae5368717ad47fdcfc1bd4a3941adb53c0d61190 +Subproject commit 2ed83d740c41153d6c030fd714a7b9a832de48ec diff --git a/main.c b/main.c index ed0a7d4..d34a4fe 100644 --- a/main.c +++ b/main.c @@ -2260,11 +2260,11 @@ int filters_net_parser(void *v_s, char *str, char *aa, struct ptr_array *pa) { SET_NEXT(s->ip_ranges, (aa), pa); } else if ((aret = argcmp(str, "IsDefault")) == 0 || aret == '=') { - s->is_set_is_default_arg = 1; + s->is_set_is_default = 1; if (!aa || !strcasecmp(aa, "true")) { - s->is_default_arg = 1; + s->is_default = 1; } else if (!strcasecmp(aa, "false")) { - s->is_default_arg = 0; + s->is_default = 0; } else { BAD_RET("IsDefault require true/false\n"); } diff --git a/osc-sdk-C b/osc-sdk-C index 9ea0e48..d613c2d 160000 --- a/osc-sdk-C +++ b/osc-sdk-C @@ -1 +1 @@ -Subproject commit 9ea0e48ba4f4f3c663868d791fb0e10ffdc61347 +Subproject commit d613c2d45d5f2ff6579f98563f0f86bd65b7594d diff --git a/osc_sdk.c b/osc_sdk.c index b866789..65e601d 100644 --- a/osc_sdk.c +++ b/osc_sdk.c @@ -6874,8 +6874,8 @@ static int filters_net_setter(struct filters_net *args, struct osc_str *data) { ARG_TO_JSON(IpRanges, string, args->ip_ranges_str); ret += 1; } - if (args->is_set_is_default_arg) { - ARG_TO_JSON(IsDefault, bool, args->is_default_arg); + if (args->is_set_is_default) { + ARG_TO_JSON(IsDefault, bool, args->is_default); ret += 1; } if (args->net_ids) { diff --git a/osc_sdk.h b/osc_sdk.h index 0706ce7..a23f40b 100644 --- a/osc_sdk.h +++ b/osc_sdk.h @@ -1538,8 +1538,8 @@ struct filters_net { /* * If true, the Net used is the default one. */ - int is_set_is_default_arg; - int is_default_arg; /* bool */ + int is_set_is_default; + int is_default; /* bool */ /* * The IDs of the Nets. */