mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-14 03:49:11 +01:00
Ticket refs#3480: TR-181: Invalid IPv6Adress parameter values
This commit is contained in:
parent
6b10b2c8e0
commit
ef0d2e9f6b
2 changed files with 1 additions and 3 deletions
|
|
@ -828,8 +828,6 @@ static int set_IPInterface_LowerLayers(char *refparam, struct dmctx *ctx, void *
|
|||
static int get_IPInterfaceIPv6Address_IPAddress(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
*value = ((struct ipv6_args *)data)->ip_6address;
|
||||
if(((struct ipv6_args *)data)->ip_6mask[0] != '\0')
|
||||
dmasprintf(value, "%s/%s", ((struct ipv6_args *)data)->ip_6address, ((struct ipv6_args *)data)->ip_6mask);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -967,7 +967,7 @@ static int get_RoutingRouteInformationInterfaceSetting_Interface(char *refparam,
|
|||
|
||||
static int get_RoutingRouteInformationInterfaceSetting_SourceRouter(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
*value = dmjson_get_value((struct json_object *)data, 1, "source");
|
||||
*value = dmjson_get_value((struct json_object *)data, 1, "target");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue