Increase the maximum hostapd.conf line length to 4096 bytes
It was already possible to use longer values through the control interface SET command, but the configuration file parser was still limited to 512 byte lines. Increase this to 4096 bytes since some of the configuration parameters (e.g., anqp_elem) can be longer. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
e4f90a6a27
commit
ef50e41028
1 changed files with 1 additions and 1 deletions
|
@ -3482,7 +3482,7 @@ struct hostapd_config * hostapd_config_read(const char *fname)
|
|||
{
|
||||
struct hostapd_config *conf;
|
||||
FILE *f;
|
||||
char buf[512], *pos;
|
||||
char buf[4096], *pos;
|
||||
int line = 0;
|
||||
int errors = 0;
|
||||
size_t i;
|
||||
|
|
Loading…
Reference in a new issue