mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
sockets.c, igmp.c, igmp.h, memp.h: Fix C++ style comments and
comment out missing header include in icmp.c
This commit is contained in:
parent
eab3667b61
commit
b422864d5d
@ -67,6 +67,10 @@ HISTORY
|
||||
|
||||
++ Bug fixes:
|
||||
|
||||
2007-03-21 Kieran Mansley
|
||||
* sockets.c, igmp.c, igmp.h, memp.h: Fix C++ style comments and
|
||||
comment out missing header include in icmp.c
|
||||
|
||||
2007-03-20 Frédéric Bernon
|
||||
* memp.h, stats.c: Fix stats_display function where memp_names table wasn't
|
||||
synchronized with memp.h.
|
||||
|
@ -1239,9 +1239,10 @@ int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_
|
||||
break;
|
||||
#if LWIP_IGMP
|
||||
case IP_MULTICAST_TTL:
|
||||
{ if(( optlen != sizeof(char) ) && ( optlen != sizeof(int) )) //NOTE, some BSD implementation use "int", some others "char"
|
||||
{ err = EINVAL;
|
||||
}
|
||||
{
|
||||
/* NOTE, some BSD implementation use "int", some others "char" */
|
||||
if(( optlen != sizeof(char) ) && ( optlen != sizeof(int) ))
|
||||
err = EINVAL;
|
||||
break;
|
||||
}
|
||||
case IP_ADD_MEMBERSHIP:
|
||||
|
@ -77,7 +77,7 @@ Steve Reynolds
|
||||
#include "lwip/igmp.h"
|
||||
|
||||
#include "arch/perf.h"
|
||||
#include "arch/PNX_if.h"
|
||||
/*#include "arch/PNX_if.h"*/
|
||||
|
||||
#include "string.h"
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
/* IGMP support available? */
|
||||
#if defined(LWIP_IGMP) && (LWIP_IGMP > 0)
|
||||
|
||||
// Some routers are not happy with ROUTER ALERT make it defineable, 1 to enable
|
||||
/* Some routers are not happy with ROUTER ALERT make it defineable, 1 to enable */
|
||||
#define USE_ROUTER_ALERT 0
|
||||
|
||||
/*
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "lwip/opt.h"
|
||||
|
||||
// If you change this enum, think to update memp_names in stats_display (stats.c)
|
||||
/* If you change this enum, think to update memp_names in stats_display (stats.c) */
|
||||
typedef enum {
|
||||
MEMP_PBUF,
|
||||
MEMP_RAW_PCB,
|
||||
|
Loading…
Reference in New Issue
Block a user