Commit c5b78fdc authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Format IPv4 routes properly.

parent c2ee19da
......@@ -681,7 +681,11 @@ dump_tables(FILE *out)
fprintf(out, "\n");
fprintf(out, "My id %s seqno %d\n", format_address(myid), myseqno);
fprintf(out, "My id %s%s%s seqno %d\n",
format_address(myid),
myipv4 ? " IPv4 " : "",
myipv4 ? format_address(myipv4) : "",
myseqno);
for(i = 0; i < numneighs; i++) {
if(neighs[i].id[0] == 0xFF)
......
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