summaryrefslogtreecommitdiff
path: root/src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp')
-rw-r--r--src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp b/src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp
index ec5ed275..9cced5d2 100644
--- a/src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp
+++ b/src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp
@@ -4,7 +4,7 @@
*/
/*
- * Copyright (C) 2009 Oracle Corporation
+ * Copyright (C) 2009-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -43,7 +43,7 @@ bool VBoxNetArpHandleIt(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF
*/
PCINTNETHDR pHdr = IntNetRingGetNextFrameToRead(&pBuf->Recv);
if ( !pHdr
- || pHdr->u16Type != INTNETHDR_TYPE_FRAME)
+ || pHdr->u8Type != INTNETHDR_TYPE_FRAME)
return false;
size_t cbFrame = pHdr->cbFrame;