mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NVNET] Fix two typos (#9345)
- Fix ETH_IS_EMPTY macro condition (5th octet) - Add missing assignment of maximum VLAN ID CORE-15872
This commit is contained in:
@@ -20,8 +20,8 @@ typedef struct _ETH_HEADER
|
||||
(BOOLEAN)(((PUCHAR)(Address))[0] & ((UCHAR)0x02))
|
||||
|
||||
#define ETH_IS_EMPTY(Address) \
|
||||
(BOOLEAN)((((PUCHAR)(Address))[0] | ((PUCHAR)(Address))[1] | ((PUCHAR)(Address))[2] | \
|
||||
((PUCHAR)(Address))[3] | ((PUCHAR)(Address))[5] | ((PUCHAR)(Address))[5]) == 0)
|
||||
((BOOLEAN)((((PUCHAR)(Address))[0] | ((PUCHAR)(Address))[1] | ((PUCHAR)(Address))[2] | \
|
||||
((PUCHAR)(Address))[3] | ((PUCHAR)(Address))[4] | ((PUCHAR)(Address))[5]) == 0))
|
||||
|
||||
typedef struct IPv4_HEADER
|
||||
{
|
||||
|
||||
@@ -175,6 +175,7 @@ NvNetReadConfiguration(
|
||||
0,
|
||||
0,
|
||||
NVNET_MAXIMUM_VLAN_ID);
|
||||
Adapter->VlanId = GenericUlong;
|
||||
|
||||
NdisReadNetworkAddress(&Status,
|
||||
(PVOID*)&NetworkAddress,
|
||||
|
||||
Reference in New Issue
Block a user