]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_evpn.c
*: fix coverity warnings - error handling issues
[mirror_frr.git] / bgpd / bgp_evpn.c
index a09d966d7b0086f8f925060dee45450f8e8d608a..182a6c64f2b3aad2a4c7dfef627959b4b77fd0d9 100644 (file)
@@ -2542,7 +2542,7 @@ void bgp_evpn_derive_auto_rd(struct bgp *bgp, struct bgpevpn *vpn)
        vpn->prd.family = AF_UNSPEC;
        vpn->prd.prefixlen = 64;
        sprintf(buf, "%s:%hu", inet_ntoa(bgp->router_id), vpn->rd_id);
-       str2prefix_rd(buf, &vpn->prd);
+       (void)str2prefix_rd(buf, &vpn->prd);
        UNSET_FLAG(vpn->flags, VNI_FLAG_RD_CFGD);
 }