Device.Routing.Router.1.IPv6Forwarding.{}.Origin: set it to DHCPv6 if the route is dynamic

This commit is contained in:
Amin Ben Ramdhane 2020-12-23 09:48:38 +01:00
parent ae196c5459
commit 8c25b2ff87

View file

@ -801,6 +801,8 @@ static int get_RoutingRouterIPv6Forwarding_Origin(char *refparam, struct dmctx *
{
if (((struct routingfwdargs *)data)->type != ROUTE_DYNAMIC)
*value = "Static";
else
*value = "DHCPv6";
return 0;
}