summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-01 02:45:49 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-05 16:42:05 +0200
commitb2608623176634e0d9b383f7a91b6f4b05bcca1e (patch)
treedc4911a37daf124934340ea6781dcaf010790167 /ripd
parentvtysh: fp can never be NULL at this point in code (diff)
downloadfrr-b2608623176634e0d9b383f7a91b6f4b05bcca1e.tar.xz
frr-b2608623176634e0d9b383f7a91b6f4b05bcca1e.zip
ripd: Intentionally ignore return from rip_send_packet
Coverity SA has noticed that we are not ignoring the return codes from rip_send_packet in one case. Since we do not care let the system know we don't. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/ripd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index ecc402700..92c27106d 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -1641,7 +1641,7 @@ static void rip_request_process(struct rip_packet *packet, int size,
}
packet->command = RIP_RESPONSE;
- rip_send_packet((uint8_t *)packet, size, from, ifc);
+ (void)rip_send_packet((uint8_t *)packet, size, from, ifc);
}
rip_global_queries++;
}