mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Set default port in CR url
This commit is contained in:
parent
475ea2ee44
commit
cf34a85a8e
1 changed files with 3 additions and 0 deletions
|
|
@ -524,6 +524,9 @@ static void get_management_ip_port(char **listen_addr)
|
||||||
dmuci_get_option_value_string("cwmp", "cpe", "port", &port);
|
dmuci_get_option_value_string("cwmp", "cpe", "port", &port);
|
||||||
dmuci_get_option_value_string_varstate("icwmp", "acs", "ip_version", &ip_version);
|
dmuci_get_option_value_string_varstate("icwmp", "acs", "ip_version", &ip_version);
|
||||||
|
|
||||||
|
if (DM_STRLEN(port) == 0)
|
||||||
|
port = dmstrdup("7547");
|
||||||
|
|
||||||
if (DM_STRLEN(l3_device) == 0 && DM_STRLEN(interface) != 0)
|
if (DM_STRLEN(l3_device) == 0 && DM_STRLEN(interface) != 0)
|
||||||
l3_device = get_l3_device(interface);
|
l3_device = get_l3_device(interface);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue