mod_capwap sends correct wtp descriptor now.

FossilOrigin-Name: b1f651a31ae1205d51b70d058e975756b6a302d5c75b5a98e441f3369d5fe5d2
This commit is contained in:
7u83@mail.ru
2016-03-04 21:32:01 +00:00
parent b47702131d
commit d85ef39abe
7 changed files with 40 additions and 14 deletions

View File

@ -179,8 +179,8 @@ int read_config(const char * filename){
str = uci_lookup_option_string(ctx,section,"software_version");
if (str){
uint8_t * s = bstr_create_from_cfgstr(str);
bstr_replace(&conf_software_version,s);
uint8_t * s = bstr16_create_from_cfgstr(str);
bstr16_replace(&conf_software_version,s);
}
str = uci_lookup_option_string(ctx,section,"hardware_version");
@ -191,8 +191,8 @@ int read_config(const char * filename){
str = uci_lookup_option_string(ctx,section,"bootloader_version");
if (str){
uint8_t * s = bstr_create_from_cfgstr(str);
bstr_replace(&conf_bootloader_version,s);
uint8_t * s = bstr16_create_from_cfgstr(str);
bstr16_replace(&conf_bootloader_version,s);
}