mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Fix compilation issue
This commit is contained in:
parent
be6a004224
commit
0364f143b9
2 changed files with 3 additions and 3 deletions
4
cwmp.c
4
cwmp.c
|
|
@ -100,10 +100,8 @@ end:
|
||||||
|
|
||||||
int get_firewall_restart_state(char **state)
|
int get_firewall_restart_state(char **state)
|
||||||
{
|
{
|
||||||
const char *param = "cwmp.cpe.firewall_restart";
|
|
||||||
|
|
||||||
cwmp_uci_reinit();
|
cwmp_uci_reinit();
|
||||||
return uci_get_state_value(param, state);
|
return uci_get_state_value(UCI_CPE_FIREWALL_RESTART_STATE, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
// wait till firewall restart is not complete or 5 sec, whichever is less
|
// wait till firewall restart is not complete or 5 sec, whichever is less
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,8 @@
|
||||||
#define LW_NOTIFICATION_PORT "cwmp.lwn.port"
|
#define LW_NOTIFICATION_PORT "cwmp.lwn.port"
|
||||||
#define UCI_DHCP_ACS_URL "cwmp.acs.dhcp_url"
|
#define UCI_DHCP_ACS_URL "cwmp.acs.dhcp_url"
|
||||||
|
|
||||||
|
#define UCI_CPE_FIREWALL_RESTART_STATE "cwmp.cpe.firewall_restart"
|
||||||
|
|
||||||
#define UCI_CONFIG_DIR "/etc/config/"
|
#define UCI_CONFIG_DIR "/etc/config/"
|
||||||
#define LIB_DB_CONFIG "/lib/db/config"
|
#define LIB_DB_CONFIG "/lib/db/config"
|
||||||
#define ETC_DB_CONFIG "/etc/board-db/config"
|
#define ETC_DB_CONFIG "/etc/board-db/config"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue