From 8c25b2ff8728a0c184404ab45c4d6b3c340ed52d Mon Sep 17 00:00:00 2001 From: Amin Ben Ramdhane Date: Wed, 23 Dec 2020 09:48:38 +0100 Subject: [PATCH] Device.Routing.Router.1.IPv6Forwarding.{}.Origin: set it to DHCPv6 if the route is dynamic --- dmtree/tr181/routing.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dmtree/tr181/routing.c b/dmtree/tr181/routing.c index 02ce62f2..9f82b30e 100644 --- a/dmtree/tr181/routing.c +++ b/dmtree/tr181/routing.c @@ -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; }