summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osdep/NeighborDiscovery.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/NeighborDiscovery.cpp b/osdep/NeighborDiscovery.cpp
index ee4cb5b1..68b67794 100644
--- a/osdep/NeighborDiscovery.cpp
+++ b/osdep/NeighborDiscovery.cpp
@@ -83,6 +83,7 @@ struct _neighbor_solicitation {
, checksum(0)
, option(1)
{
+ memset(&reserved, 0, sizeof(reserved));
memset(target, 0, sizeof(target));
}
@@ -111,6 +112,7 @@ struct _neighbor_solicitation {
uint8_t type; // 135
uint8_t code; // 0
uint16_t checksum;
+ uint32_t reserved;
uint8_t target[16];
_option option;
};