Commit 9aee98b4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Dump myxroutes too.

parent 8902ba60
...@@ -556,6 +556,17 @@ dump_tables(FILE *out) ...@@ -556,6 +556,17 @@ dump_tables(FILE *out)
int i; int i;
fprintf(out, "\n"); fprintf(out, "\n");
for(i = 0; i < nummyxroutes; i++) {
fprintf(out, "External %s/%d cost %d%s\n",
format_address(myxroutes[i].prefix),
myxroutes[i].plen,
myxroutes[i].cost,
myxroutes[i].installed ?
(myxroutes[i].installed >= 2 ? " (forced)" : " (installed)") :
"");
}
for(i = 0; i < numneighs; i++) { for(i = 0; i < numneighs; i++) {
if(neighs[i].id[0] == 0) if(neighs[i].id[0] == 0)
continue; continue;
......
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