diff --git a/src/dynamicdnsmngr.c b/src/dynamicdnsmngr.c index 91f976b7d0c4f488290e4fab6303411d718ea9d9..a677b92f55120e9c5161d01a882cb982a955feb9 100644 --- a/src/dynamicdnsmngr.c +++ b/src/dynamicdnsmngr.c @@ -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))