From baed5957f0113a0c70254a8cf3360d787c70c21c Mon Sep 17 00:00:00 2001 From: Omar Kallel Date: Mon, 16 Dec 2019 15:39:00 +0100 Subject: [PATCH] Device.GRE: segmentation fault --- dmtree/tr181/gre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmtree/tr181/gre.c b/dmtree/tr181/gre.c index 3a92c986..993cb0e4 100644 --- a/dmtree/tr181/gre.c +++ b/dmtree/tr181/gre.c @@ -409,7 +409,7 @@ int set_GRETunnel_Alias(char *refparam, struct dmctx *ctx, void *data, char *ins struct uci_section *dmmap_section; struct dmmap_dup *dm= (struct dmmap_dup *)data; - get_dmmap_section_of_config_section("dmmap_network", "intarface", section_name(dm->config_section), &dmmap_section); + get_dmmap_section_of_config_section("dmmap_network", "interface", section_name(dm->config_section), &dmmap_section); switch (action) { case VALUECHECK: break;