Skip to content
Snippets Groups Projects
Commit 4b0c679c authored by Amin Ben Romdhane's avatar Amin Ben Romdhane
Browse files

Define internal variables inside micro-service

parent e81bdbd9
No related branches found
No related tags found
1 merge request!4Define internal variables inside micro-service
Pipeline #156190 passed
......@@ -722,6 +722,8 @@ static int get_DynamicDNSServer_Protocol(char *refparam, struct dmctx *ctx, void
static int set_DynamicDNSServer_Protocol(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
{
char *SupportedProtocols[] = {"HTTP", "HTTPS", NULL};
switch (action) {
case VALUECHECK:
if (bbfdm_validate_string(ctx, value, -1, -1, SupportedProtocols, NULL))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment