summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2018-08-13 13:22:17 -0400
committerGitHub <noreply@github.com>2018-08-13 13:22:17 -0400
commit5487152318c7f56867a027f7214c849f6fb23e5c (patch)
tree3cd1474c4858c7130a2f6a60661d6749dfca94a3
parent9af533f1d90bc8376c3446bb63e311dc4e147feb (diff)
parent4d8405699eb95b57dd739de730db9e57cd4ea2d2 (diff)
Merge pull request #2827 from pacovn/Coverity_1472310_Unchecked_return_value
bgpd: return value check (Coverity 1472310)
-rw-r--r--bgpd/bgp_debug.c2
1 files changed, 1 insertions, 1 deletions
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);