mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Data Model: Align with stunc changes
This commit is contained in:
parent
7ff419cefc
commit
d1caec8402
1 changed files with 2 additions and 2 deletions
|
|
@ -481,7 +481,7 @@ static int get_upd_cr_address(char *refparam, struct dmctx *ctx, void *data, cha
|
|||
enabled = dmuci_string_to_boolean(stunc_enabled);
|
||||
|
||||
if (enabled == true)
|
||||
dmuci_get_option_value_string_varstate("stunc", "stunc", "crudp_address", value);
|
||||
dmuci_get_option_value_string_varstate("stun", "stunc", "crudp_address", value);
|
||||
else
|
||||
get_management_ip_port(value);
|
||||
|
||||
|
|
@ -792,7 +792,7 @@ static int get_nat_detected(char *refparam, struct dmctx *ctx, void *data, char
|
|||
en = dmuci_string_to_boolean(v);
|
||||
|
||||
if (en == true) { //stunc is enabled
|
||||
dmuci_get_option_value_string_varstate("stunc", "stunc", "nat_detected", &v);
|
||||
dmuci_get_option_value_string_varstate("stun", "stunc", "nat_detected", &v);
|
||||
en = dmuci_string_to_boolean(v);
|
||||
*value = (en == true) ? "1" : "0";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue