diff options
author | ajs <ajs> | 2005-04-10 15:01:56 +0000 |
---|---|---|
committer | ajs <ajs> | 2005-04-10 15:01:56 +0000 |
commit | 57a1477bc7138649a51277cd52616eb05d438187 (patch) | |
tree | e40385dcce50ab85c6e12e36d3b5d17cac4570d9 /ospf6d/ospf6_lsdb.h | |
parent | fa59980fc8a5d06f590d16288b82361ece9c5652 (diff) |
2005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* zserv.c (zebra_client_read): Fix bug: first read attempt should
read ZEBRA_HEADER_SIZE minus the number of bytes already read.
Improve efficiency by maintaining a calculation of the number
of bytes read instead of calling stream_get_endp multiple times.
If message length is too small, issue a warning message (not debug)
before closing the connection. And also check that message length
is not too big.
Diffstat (limited to 'ospf6d/ospf6_lsdb.h')
0 files changed, 0 insertions, 0 deletions