Similar fix to the one commited to lsp_build_nonpseudo() some days
ago.
+2005-09-03 Hasso Tepper <hasso at quagga.net>
+
+ * isis_lsp.c: Yet another regression introduced by stream cleanup.
+ Similar fix to the one commited to lsp_build_nonpseudo() some days
+ ago.
+
2005-09-01 Hasso Tepper <hasso at quagga.net>
* isis_lsp.c: Less TLV leaking.
}
}
+ /* 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
*/