]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_aspath.c
*: remove the checking returned value for hash_get()
[mirror_frr.git] / bgpd / bgp_aspath.c
index 880e15fadbd3394d2bdc0f0c01826fc4f7361c17..41166de05056f1cfd40a56fc13071af6bd3d4a49 100644 (file)
@@ -861,9 +861,6 @@ struct aspath *aspath_parse(struct stream *s, size_t length, int use32bit)
        /* If already same aspath exist then return it. */
        find = hash_get(ashash, &as, aspath_hash_alloc);
 
-       /* bug! should not happen, let the daemon crash below */
-       assert(find);
-
        /* if the aspath was already hashed free temporary memory. */
        if (find->refcnt) {
                assegment_free_all(as.segments);