diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-03-16 13:07:15 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-03-16 13:44:08 +0100 |
commit | a6a83171d5c7d09301ffd52ac9ea5c67758714ee (patch) | |
tree | be106853b1ff89b7a7686cda2114dea28f662693 /src/ipcpd/eth/llc.c | |
parent | 67729ef3efaa7925816a82688744c8c5c29f4ce3 (diff) | |
download | ouroboros-a6a83171d5c7d09301ffd52ac9ea5c67758714ee.tar.gz ouroboros-a6a83171d5c7d09301ffd52ac9ea5c67758714ee.zip |
ipcpd: Fix reading LSAs in link-state policy0.10.7
The read buffer had the exact length of a link-state message. With the
partial read implemented, we should then do another read() to check if
there are more parts of the message (which will return 0). To avoid
the additional read() call every time, the buffer was extended by 1
byte.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/eth/llc.c')
0 files changed, 0 insertions, 0 deletions