Reverting loopback change which doesn't seem to fully work.

This commit is contained in:
Robin Sommer 2012-02-17 15:41:06 -08:00
parent 0e3934b196
commit b3333a7da2
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
2.0-85 | 2012-02-17 15:36:12 -0800
2.0-86 | 2012-02-17 15:41:06 -0800
* Changing ARP detection to always kick in even if no analyzer is
activated. (Robin Sommer)

View file

@ -1 +1 @@
2.0-85
2.0-86

View file

@ -191,7 +191,7 @@ void PktSrc::Process()
switch ( datalink ) {
case DLT_NULL:
{
protocol = (data[0] << 24) + (data[1] << 16) + (data[2] << 8) + data[3];
protocol = (data[3] << 24) + (data[2] << 16) + (data[1] << 8) + data[0];
if ( protocol != AF_INET && protocol != AF_INET6 )
{