mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-08 06:24:34 +00:00
Compilation fix
This commit is contained in:
parent
a4730f33c1
commit
cb8f8997de
1 changed files with 8 additions and 2 deletions
|
|
@ -450,8 +450,14 @@ void HTTPserver::setCaptiveRedirectAddress(const char *addr) {
|
|||
if(!wispr_captive_data)
|
||||
wispr_captive_data = (char *) malloc(max_wispr_size);
|
||||
|
||||
const char *name = ntop->getPro()->get_product_name();
|
||||
|
||||
const char *name =
|
||||
#ifdef HAVE_NEDGE
|
||||
ntop->getPro()->get_product_name()
|
||||
#else
|
||||
"ntopng"
|
||||
#endif
|
||||
;
|
||||
|
||||
snprintf(wispr_captive_data, max_wispr_size, "<HTML>\n\
|
||||
<!--\n\
|
||||
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue