TWAMP: Align with latest bbf changes

This commit is contained in:
Amin Ben Ramdhane 2021-02-15 21:24:01 +01:00
parent 08adc4f106
commit eab05e10a5

View file

@ -175,7 +175,7 @@ static int set_IPInterfaceTWAMPReflector_Alias(char *refparam, struct dmctx *ctx
{
switch (action) {
case VALUECHECK:
if (dm_validate_string(value, -1, 64, NULL, 0, NULL, 0))
if (dm_validate_string(value, -1, 64, NULL, NULL))
return FAULT_9007;
break;
case VALUESET:
@ -235,7 +235,7 @@ static int set_IPInterfaceTWAMPReflector_IPAllowedList(char *refparam, struct dm
{
switch (action) {
case VALUECHECK:
if (dm_validate_string_list(value, -1, -1, 255, -1, -1, NULL, 0, NULL, 0))
if (dm_validate_string_list(value, -1, -1, 255, -1, -1, NULL, NULL))
return FAULT_9007;
break;
case VALUESET:
@ -255,7 +255,7 @@ static int set_IPInterfaceTWAMPReflector_PortAllowedList(char *refparam, struct
{
switch (action) {
case VALUECHECK:
if (dm_validate_string_list(value, -1, -1, 255, -1, -1, NULL, 0, NULL, 0))
if (dm_validate_string_list(value, -1, -1, 255, -1, -1, NULL, NULL))
return FAULT_9007;
break;
case VALUESET: