* isis_lsp.h: Added backpointer to the area from LSP. For now it's used
only in generated topology LSPs.
* isisd.[ch]: Cleanup CLI commands related to topology generation and
added command to specify base fo dynamic hostname for topology LSPs.
* isis_lsp.c: Rewrite almost all code related to generation topology
LSPs (top_lsp_refresh(), generate_topology_lsps() and
build_topology_lsp_data() functions). Topology is connected to own
LSP now (lsp_build_nonpseudo). Commented out lsppdu_realloc
functions, it's not used any more hopefully.
Topology generation feature is actually useful now.
diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h
index fb6f1d8..adbde78 100644
--- a/isisd/isis_lsp.h
+++ b/isisd/isis_lsp.h
@@ -59,6 +59,8 @@
/* used for 60 second counting when rem_lifetime is zero */
int age_out;
struct isis_adjacency *adj;
+ /* FIXME: For now only topology LSP's use this. Is it helpful for others? */
+ struct isis_area *area;
struct tlvs tlv_data; /* Simplifies TLV access */
};