mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-21 10:09:13 +00:00
Improved host walk for lua scripts
This commit is contained in:
parent
207d40c20a
commit
5347d613d6
9 changed files with 81 additions and 47 deletions
|
|
@ -1542,12 +1542,6 @@ HTTPserver::HTTPserver(const char *_docs_dir, const char *_scripts_dir) {
|
|||
|
||||
cur_http_options = 0;
|
||||
|
||||
/* Silence format-truncation warning */
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
/* HTTP options */
|
||||
addHTTPOption("listening_ports", ports);
|
||||
addHTTPOption("enable_directory_listing", "no");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue