From a96d8d1095da09811e343a534f5801a948ae1061 Mon Sep 17 00:00:00 2001 From: hasso Date: Fri, 16 Sep 2005 14:44:23 +0000 Subject: * isis_lsp.c (lsp_update): Remove LSP from database before updating its data and put it back after. Database entry MUST contain at least correct pointers to the sysid to get correct compare results. * isis_lsp.[ch], isis_pdu.c: Pass level to the lsp_update() function. --- isisd/isis_lsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isisd/isis_lsp.h') diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h index 8e450668..fb6f1d82 100644 --- a/isisd/isis_lsp.h +++ b/isisd/isis_lsp.h @@ -114,7 +114,7 @@ int lsp_id_cmp (u_char * id1, u_char * id2); int lsp_compare (char *areatag, struct isis_lsp *lsp, u_int32_t seq_num, u_int16_t checksum, u_int16_t rem_lifetime); void lsp_update (struct isis_lsp *lsp, struct isis_link_state_hdr *lsp_hdr, - struct stream *stream, struct isis_area *area); + struct stream *stream, struct isis_area *area, int level); void lsp_inc_seqnum (struct isis_lsp *lsp, u_int32_t seq_num); int lsp_print_all (struct vty *vty, dict_t * lspdb, char detail, char dynhost); -- cgit v1.2.1