From f695b01ff8e9aebc46bdf41f104ad4abbb0ef59e Mon Sep 17 00:00:00 2001 From: hasso Date: Sat, 2 Apr 2005 19:03:39 +0000 Subject: * configure.ac: Add --enable-isis-topology to enable isisd topology generator code. * isisd/Makefile.am: Variables to handle conditonal compiling of topology generator code. * isisd/isis_lsp.c: lsppdu_realloc() is used by topology generator. * isisd/isisd.c: Rename show_isis_topology_cmd to not conflict the one in the isis_spf.c. * isisd/isisd.h: Remove TOPOLOGY_GENERATE define, it will be defined in toplevel config.h if topology generator is enabled. * isisd/topology/Makefile.am: Handle the libtoolized Quagga libraries. --- isisd/isis_lsp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'isisd/isis_lsp.c') diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index 52d8884d..987a9b32 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -913,7 +913,6 @@ lsp_print_all (struct vty *vty, dict_t * lspdb, char detail, char dynhost) return lsp_count; } -#if 0 /* Seems to be old code */ /* this function reallocate memory to an lsp pdu, with an additional * size of memory, it scans the lsp and moves all pointers the * way they should */ @@ -940,7 +939,6 @@ lsppdu_realloc (struct isis_lsp * lsp, int memorytype, int size) return STREAM_DATA (lsp->pdu) + (lsp->lsp_header->pdu_len - size); #endif /* LSP_MEMORY_PREASSIGN */ } -#endif /* 0 */ #if 0 /* Saving the old one just in case :) */ /* -- cgit v1.2.1