summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.h
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-16 16:44:23 +0200
committerhasso <hasso>2005-09-16 16:44:23 +0200
commita96d8d1095da09811e343a534f5801a948ae1061 (patch)
tree572fdf17817de64a85cda87d15f3b0da8640c6b5 /isisd/isis_lsp.h
parent * vtysh.c: Fix warning by casting rl_bind_key 2. argument correctly. (diff)
downloadfrr-a96d8d1095da09811e343a534f5801a948ae1061.tar.xz
frr-a96d8d1095da09811e343a534f5801a948ae1061.zip
* 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.
Diffstat (limited to 'isisd/isis_lsp.h')
-rw-r--r--isisd/isis_lsp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h
index 8e4506685..fb6f1d826 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);