fix nasty overlay_abbreviation error when sending self-announcements.

This commit is contained in:
gardners 2012-04-30 05:57:30 +09:30
parent 08cf7f9639
commit cdb8c702bd

View File

@ -318,6 +318,8 @@ int overlay_add_selfannouncement(int interface,overlay_buffer *b)
if (ob_append_bytes(b,sid,7)) return WHY("Could not append SID prefix to self-announcement");
overlay_interfaces[interface].ticks_since_sent_full_address++;
}
/* Make note that this is the most recent address we have set */
overlay_abbreviate_set_most_recent_address(sid);
/* Sequence number range. Based on one tick per milli-second. */
overlay_update_sequence_number();