mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-21 01:54:34 +00:00
Warning fix
This commit is contained in:
parent
e7dd7ce8a9
commit
75e4b89beb
1 changed files with 1 additions and 1 deletions
|
|
@ -644,7 +644,7 @@ static void redirect_to_login(struct mg_connection *conn,
|
|||
"Content-Type: text/html; charset=UTF-8\r\n"
|
||||
"Content-Length: %u\r\n"
|
||||
"Location: http://%s:%u%s%s%s%s\r\n\r\n%s",
|
||||
strlen(wispr_data),
|
||||
(unsigned int)strlen(wispr_data),
|
||||
ntop->get_HTTPserver()->getCaptiveRedirectAddress(), // LAN address
|
||||
CAPTIVE_PORTAL_PORT,
|
||||
ntop->getPrefs()->get_http_prefix(), ntop->getPrefs()->getCaptivePortalUrl(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue