Commit 44050f84 authored by Baptiste Jonglez's avatar Baptiste Jonglez

Send a timestamp sub-TLV on unicast communication

parent 8186abb6
...@@ -939,6 +939,7 @@ flush_unicast(int dofree) ...@@ -939,6 +939,7 @@ flush_unicast(int dofree)
sin6.sin6_port = htons(protocol_port); sin6.sin6_port = htons(protocol_port);
sin6.sin6_scope_id = unicast_neighbour->ifp->ifindex; sin6.sin6_scope_id = unicast_neighbour->ifp->ifindex;
DO_HTONS(packet_header + 2, unicast_buffered); DO_HTONS(packet_header + 2, unicast_buffered);
fill_rtt_message(unicast_neighbour->ifp);
rc = babel_send(protocol_socket, rc = babel_send(protocol_socket,
packet_header, sizeof(packet_header), packet_header, sizeof(packet_header),
unicast_buffer, unicast_buffered, unicast_buffer, unicast_buffered,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment