mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 22:07:49 +00:00
Fix size of neighbor solicitation struct
This commit is contained in:
parent
45c4ccb153
commit
e59ed3e68f
@ -83,6 +83,7 @@ struct _neighbor_solicitation {
|
|||||||
, checksum(0)
|
, checksum(0)
|
||||||
, option(1)
|
, option(1)
|
||||||
{
|
{
|
||||||
|
memset(&reserved, 0, sizeof(reserved));
|
||||||
memset(target, 0, sizeof(target));
|
memset(target, 0, sizeof(target));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,6 +112,7 @@ struct _neighbor_solicitation {
|
|||||||
uint8_t type; // 135
|
uint8_t type; // 135
|
||||||
uint8_t code; // 0
|
uint8_t code; // 0
|
||||||
uint16_t checksum;
|
uint16_t checksum;
|
||||||
|
uint32_t reserved;
|
||||||
uint8_t target[16];
|
uint8_t target[16];
|
||||||
_option option;
|
_option option;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user