Multiple compilation fixes:

- use C style comments, not C++ style;
- don't use #if with undefined parameter;
This commit is contained in:
goldsimon
2012-02-13 21:38:28 +01:00
parent c279692cfe
commit 5e87126c38
3 changed files with 4 additions and 3 deletions

View File

@@ -347,7 +347,8 @@ ip6_input(struct pbuf *p, struct netif *inp)
u8_t nexth;
u16_t hlen; /* the current header length */
u8_t i;
#if IP_ACCEPT_LINK_LAYER_ADDRESSING
#if 0 /*IP_ACCEPT_LINK_LAYER_ADDRESSING*/
@todo
int check_ip_src=1;
#endif /* IP_ACCEPT_LINK_LAYER_ADDRESSING */