From aaaa260222919de778ffb8f22eab7a9c6341f071 Mon Sep 17 00:00:00 2001 From: sandeep Date: Tue, 10 May 2022 19:11:46 +0530 Subject: [PATCH] bbf:Default value of Device.X_IOPSYS_EU_MLD.Snooping.1.LastMemberQueryInterval shown correctly --- dmtree/vendor/iopsys/tr181/x_iopsys_eu_igmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmtree/vendor/iopsys/tr181/x_iopsys_eu_igmp.c b/dmtree/vendor/iopsys/tr181/x_iopsys_eu_igmp.c index e60eac73..28bd2f8c 100644 --- a/dmtree/vendor/iopsys/tr181/x_iopsys_eu_igmp.c +++ b/dmtree/vendor/iopsys/tr181/x_iopsys_eu_igmp.c @@ -870,7 +870,7 @@ int set_mcast_snooping_mode(char *refparam, struct dmctx *ctx, void *data, char int get_mcasts_last_mq_interval(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value) { - dmuci_get_value_by_section_string((struct uci_section *)data, "last_member_query_interval", value); + *value = dmuci_get_value_by_section_fallback_def((struct uci_section *)data, "last_member_query_interval", "10"); return 0; }