mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
isisd: return check (Coverity 1424370)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
62a9c814e1
commit
aa979109f2
@ -309,9 +309,9 @@ int isis_recv_pdu_p2p(struct isis_circuit *circuit, uint8_t *ssnpa)
|
||||
addr_len = sizeof(s_addr);
|
||||
|
||||
/* we can read directly to the stream */
|
||||
stream_recvfrom(circuit->rcv_stream, circuit->fd,
|
||||
circuit->interface->mtu, 0, (struct sockaddr *)&s_addr,
|
||||
(socklen_t *)&addr_len);
|
||||
(void)stream_recvfrom(
|
||||
circuit->rcv_stream, circuit->fd, circuit->interface->mtu, 0,
|
||||
(struct sockaddr *)&s_addr, (socklen_t *)&addr_len);
|
||||
|
||||
if (s_addr.sll_pkttype == PACKET_OUTGOING) {
|
||||
/* Read the packet into discard buff */
|
||||
|
Loading…
Reference in New Issue
Block a user