diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-09-22 14:25:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-22 14:25:46 +0200 |
| commit | 16c3485e74ff75ab8caa907d6fb06d7173ecbd32 (patch) | |
| tree | 245e520250c4578242d4dabe4f337d95bcffb97f /ospf6d/ospf6_message.c | |
| parent | 86b204303387187e0d195688e54a62b21148f407 (diff) | |
| parent | cd8aaf076ea134ce0c4e0154c97f41c355c5df99 (diff) | |
Merge pull request #9635 from donaldsharp/ospf6_unit
Diffstat (limited to 'ospf6d/ospf6_message.c')
| -rw-r--r-- | ospf6d/ospf6_message.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c index 53f3c3468a..64de9bae41 100644 --- a/ospf6d/ospf6_message.c +++ b/ospf6d/ospf6_message.c @@ -1878,11 +1878,13 @@ static void ospf6_make_header(uint8_t type, struct ospf6_interface *oi, oh->version = (uint8_t)OSPFV3_VERSION; oh->type = type; - + oh->length = 0; oh->router_id = oi->area->ospf6->router_id; oh->area_id = oi->area->area_id; + oh->checksum = 0; oh->instance_id = oi->instance_id; oh->reserved = 0; + stream_forward_endp(s, OSPF6_HEADER_SIZE); } |
