fixed so that NBR compiles - added TCP support
This commit is contained in:
parent
1b2b043f24
commit
adb2f9b010
|
@ -289,11 +289,11 @@ border_router_set_sensors(const char *data, int len)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
set_prefix_64(const uip_ipaddr_t *prefix_64)
|
||||
set_prefix_64(uip_ipaddr_t *prefix_64)
|
||||
{
|
||||
memcpy(&prefix, prefix_64, 16);
|
||||
prefix_set = 1;
|
||||
rpl_dag_root_init(prefix_64, NULL);
|
||||
rpl_dag_root_init(prefix_64, NULL);
|
||||
rpl_dag_root_init_dag_immediately();
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -44,6 +44,10 @@
|
|||
|
||||
//#include "urlconv.h"
|
||||
|
||||
#if UIP_CONF_TCP == 0
|
||||
#error HTTP server needs TCP enabled
|
||||
#endif
|
||||
|
||||
#include "httpd-simple.h"
|
||||
#define webserver_log_file(...)
|
||||
#define webserver_log(...)
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#define WEBSERVER_CONF_CFS_CONNS 2
|
||||
|
||||
#define SERIALIZE_ATTRIBUTES 1
|
||||
#define UIP_CONF_TCP 1
|
||||
|
||||
#define CMD_CONF_OUTPUT border_router_cmd_output
|
||||
|
||||
|
|
Loading…
Reference in New Issue