mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-06 01:11:34 +01:00
fix compilation error when EX400 is selected
This commit is contained in:
parent
5585bed079
commit
46a002e95f
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue