Fix naming issues and includes in uip-ds6-nbr.h
This commit is contained in:
parent
5dc05e7913
commit
248301a041
48 changed files with 151 additions and 148 deletions
|
@ -50,7 +50,7 @@
|
|||
#include "httpd-fs.h"
|
||||
#include "httpd-fsdata.h"
|
||||
#include "lib/petsciiconv.h"
|
||||
#include "net/neighbor-table.h"
|
||||
#include "net/nbr-table.h"
|
||||
|
||||
#include "sensors.h"
|
||||
|
||||
|
@ -525,9 +525,9 @@ static const char httpd_cgi_nbrs5[] HTTPD_STRING_ATTR = " NBR_PROBE";
|
|||
}
|
||||
}
|
||||
#if WEBSERVER_CONF_SHOW_ROOM
|
||||
numprinted += httpd_snprintf((char *)uip_appdata+numprinted, uip_mss()-numprinted, httpd_cgi_addrf,NEIGHBOR_TABLE_MAX_NEIGHBORS-j);
|
||||
numprinted += httpd_snprintf((char *)uip_appdata+numprinted, uip_mss()-numprinted, httpd_cgi_addrf,NBR_TABLE_MAX_NEIGHBORS-j);
|
||||
#else
|
||||
if(NEIGHBOR_TABLE_MAX_NEIGHBORS == j) {
|
||||
if(NBR_TABLE_MAX_NEIGHBORS == j) {
|
||||
numprinted += httpd_snprintf((char *)uip_appdata+numprinted, uip_mss()-numprinted, httpd_cgi_addrf);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue