tools/nxstyle.c: Fix logic error that prevent detecion of '/' and '/=' as operators. net/: Minor updates resulting from testing tools/nxstyle.

This commit is contained in:
Gregory Nutt
2019-03-11 12:48:17 -06:00
parent 0a7f7642c0
commit f6b00e1966
77 changed files with 473 additions and 283 deletions
+4 -2
View File
@@ -289,8 +289,10 @@ int ipv6_input(FAR struct net_driver_s *dev)
g_netstats.ipv6.recv++;
#endif
/* Start of IP input header processing code. */
/* Check validity of the IP header. */
/* Start of IP input header processing code.
*
* Check validity of the IP header.
*/
if ((ipv6->vtc & 0xf0) != 0x60)
{