diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-08-13 13:22:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-13 13:22:17 -0400 |
| commit | 5487152318c7f56867a027f7214c849f6fb23e5c (patch) | |
| tree | 3cd1474c4858c7130a2f6a60661d6749dfca94a3 | |
| parent | 9af533f1d90bc8376c3446bb63e311dc4e147feb (diff) | |
| parent | 4d8405699eb95b57dd739de730db9e57cd4ea2d2 (diff) | |
Merge pull request #2827 from pacovn/Coverity_1472310_Unchecked_return_value
bgpd: return value check (Coverity 1472310)
| -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 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); |
