diff options
author | F. Aragon <paco@voltanet.io> | 2018-08-13 18:05:42 +0200 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-08-13 18:05:42 +0200 |
commit | 4d8405699eb95b57dd739de730db9e57cd4ea2d2 (patch) | |
tree | ad267e44f0f3ce8e6b95175925fcb431197f0cc0 /bgpd/bgp_debug.c | |
parent | Merge pull request #2809 from opensourcerouting/routemap-rpki-fix (diff) | |
download | frr-4d8405699eb95b57dd739de730db9e57cd4ea2d2.tar.xz frr-4d8405699eb95b57dd739de730db9e57cd4ea2d2.zip |
bgpd: return value check (Coverity 1472310)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to '')
-rw-r--r-- | bgpd/bgp_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index c7c36882a..f49f80b5d 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); |