Display unicast / broadcast for incoming connections

This commit is contained in:
Jeremy Lakeman 2014-01-22 16:15:41 +10:30
parent 1a543484bd
commit a811d49151

View File

@ -678,8 +678,9 @@ void link_neighbour_status_html(struct strbuf *b, struct subscriber *neighbour)
rhizome_sync_status_html(b, n->subscriber);
struct link_in *link_in = n->links;
while(link_in){
strbuf_sprintf(b, "In: %s%s, seq=%d, mask=%08"PRIx64"<br>",
strbuf_sprintf(b, "In: %s %s%s, seq=%d, mask=%08"PRIx64"<br>",
link_in->interface->name,
link_in->unicast?"unicast":"broadcast",
link_in == n->best_link?" *best":"",
link_in->ack_sequence,
link_in->ack_mask);