summaryrefslogtreecommitdiff
path: root/isisd/isis_pdu.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-16 14:44:23 +0000
committerhasso <hasso>2005-09-16 14:44:23 +0000
commita96d8d1095da09811e343a534f5801a948ae1061 (patch)
tree572fdf17817de64a85cda87d15f3b0da8640c6b5 /isisd/isis_pdu.c
parent53a6f932032a30625358414ae0f77790656ccaca (diff)
* 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_pdu.c')
-rw-r--r--isisd/isis_pdu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c
index b15d4551..87f37901 100644
--- a/isisd/isis_pdu.c
+++ b/isisd/isis_pdu.c
@@ -1085,7 +1085,8 @@ dontcheckadj:
/* 7.3.16.4 b) 1) */
if (comp == LSP_NEWER)
{
- lsp_update (lsp, hdr, circuit->rcv_stream, circuit->area);
+ lsp_update (lsp, hdr, circuit->rcv_stream, circuit->area,
+ level);
/* ii */
ISIS_FLAGS_SET_ALL (lsp->SRMflags);
/* iii */
@@ -1239,7 +1240,7 @@ dontcheckadj:
else if (comp == LSP_EQUAL)
{
ISIS_CLEAR_FLAG (lsp->SRMflags, circuit);
- lsp_update (lsp, hdr, circuit->rcv_stream, circuit->area);
+ lsp_update (lsp, hdr, circuit->rcv_stream, circuit->area, level);
if (circuit->circ_type != CIRCUIT_T_BROADCAST)
{
ISIS_SET_FLAG (lsp->SSNflags, circuit);