Changeset 11437 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 14, 2008 6:34:57 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 34791
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r11436 r11437 4397 4397 * It consists of 14-byte header [+ 4-byte vlan tag] + 1500-byte body. 4398 4398 */ 4399 register maxFrameSize = ((uint16_t*)pvBuf)[6] == 0x81 ? 1518 : 1514;4399 register unsigned maxFrameSize = ((uint16_t*)pvBuf)[6] == 0x81 ? 1518 : 1514; 4400 4400 if (RT_UNLIKELY(cb > maxFrameSize)) 4401 4401 { … … 4405 4405 Log(("#%d Received frame exceeds max size (%u > %u). " 4406 4406 "Further frame losses will be reported at level5\n", 4407 PCNET_INST_NR, (unsigned)cb, (unsigned)maxFrameSize));4407 PCNET_INST_NR, (unsigned)cb, maxFrameSize)); 4408 4408 } 4409 4409 else
Note:
See TracChangeset
for help on using the changeset viewer.