From: F. Aragon Date: Mon, 13 Aug 2018 16:05:42 +0000 (+0200) Subject: bgpd: return value check (Coverity 1472310) X-Git-Tag: frr-6.1-dev~75^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4d8405699eb95b57dd739de730db9e57cd4ea2d2;p=matthieu%2Ffrr.git bgpd: return value check (Coverity 1472310) Signed-off-by: F. Aragon --- diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index c7c36882af..f49f80b5d9 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -621,7 +621,7 @@ static int bgp_debug_parse_evpn_prefix(struct vty *vty, struct cmd_token **argv, memset(&ip, 0, sizeof(struct ipaddr)); argv_find(argv, argc, "mac", &mac_idx); - prefix_str2mac(argv[mac_idx + 1]->arg, &mac); + (void)prefix_str2mac(argv[mac_idx + 1]->arg, &mac); argv_find(argv, argc, "ip", &ip_idx); str2ipaddr(argv[ip_idx + 1]->arg, &ip);