summaryrefslogtreecommitdiff
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-03 16:29:40 +0000
committerhasso <hasso>2005-09-03 16:29:40 +0000
commitc0fb2a52150ece6042181ab49fafc12b3ba07870 (patch)
treebb150096a736c9800816dbeccd35fd7669151dd1 /isisd/isis_lsp.c
parentbe7d65d976f3e6f9d24b0e77064444ae69b74e1d (diff)
* isis_lsp.c: Yet another regression introduced by stream cleanup.
Similar fix to the one commited to lsp_build_nonpseudo() some days ago.
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index a425b341..cb7b93b4 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -1911,6 +1911,10 @@ lsp_build_pseudo (struct isis_lsp *lsp, struct isis_circuit *circuit,
}
}
+ /* Reset endp of stream to overwrite only TLV part of it. */
+ lsp->pdu->endp = 0;
+ stream_forward_endp (lsp->pdu, ISIS_FIXED_HDR_LEN + ISIS_LSP_HDR_LEN);
+
/*
* Add the authentication info if it's present
*/