From 46a002e95f3330da471f7a975a114fe0961c409b Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Mon, 26 Feb 2018 15:34:33 +0100 Subject: [PATCH] fix compilation error when EX400 is selected --- dm/dmtree/tr098/wandevice.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dm/dmtree/tr098/wandevice.c b/dm/dmtree/tr098/wandevice.c index bb46814..1b62d75 100644 --- a/dm/dmtree/tr098/wandevice.c +++ b/dm/dmtree/tr098/wandevice.c @@ -2306,7 +2306,9 @@ int browsewandeviceInst(struct dmctx *dmctx, DMNODE *parent_node, void *prev_dat dmuci_get_option_value_string("network", default_wan, "ifname", &default_wan_ifname); dmuci_get_option_value_string("network", default_wan, "proto", &defwanproto); dmuci_get_option_value_string("ports", "WAN", "ifname", ð_wan); +#ifndef EX400 wan_devices[WAN_IDX_ETH].fdev = eth_wan; +#endif if (strstr(defwanproto, "ppp")) default_wan_proto = WAN_PROTO_PPP;