isisd: fix uninitialized variable

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
Igor Ryzhov 2020-11-18 19:07:49 +03:00
parent 0db96688aa
commit 55b2b5ab99

View File

@ -215,7 +215,7 @@ int isis_sock_init(struct isis_circuit *circuit)
int isis_recv_pdu_bcast(struct isis_circuit *circuit, uint8_t *ssnpa)
{
int bytesread = 0, bytestoread, offset, one = 1;
int bytesread = 0, bytestoread = 0, offset, one = 1;
uint8_t *buff_ptr;
struct bpf_hdr *bpf_hdr;