diff options
author | hasso <hasso> | 2005-09-03 16:29:40 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-09-03 16:29:40 +0000 |
commit | eea4d3dc5aed7e782fbfb9280248fca44b707ec4 (patch) | |
tree | 48323a56925e4ceb7aff18e2e031bc8de90e4180 | |
parent | 8f4111d12b204d8081a64196c18e87ad3c0729ba (diff) | |
download | quagga-eea4d3dc5aed7e782fbfb9280248fca44b707ec4.tar.bz2 quagga-eea4d3dc5aed7e782fbfb9280248fca44b707ec4.tar.xz |
* isis_lsp.c: Yet another regression introduced by stream cleanup.
Similar fix to the one commited to lsp_build_nonpseudo() some days
ago.
-rw-r--r-- | isisd/ChangeLog | 6 | ||||
-rw-r--r-- | isisd/isis_lsp.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/isisd/ChangeLog b/isisd/ChangeLog index f2e0f51a..d418d63b 100644 --- a/isisd/ChangeLog +++ b/isisd/ChangeLog @@ -1,3 +1,9 @@ +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. 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 */ |