]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_rib.c
*: Do not cast to the same type
[mirror_frr.git] / zebra / zebra_rib.c
index 58967de778771d3f39938a94d4874d9826b2791f..80116fca18f1cf521aff92177f5d215879076aa3 100644 (file)
@@ -261,7 +261,7 @@ struct route_entry *rib_match(afi_t afi, safi_t safi, vrf_id_t vrf_id,
                p.prefixlen = IPV6_MAX_PREFIXLEN;
        }
 
-       rn = route_node_match(table, (struct prefix *)&p);
+       rn = route_node_match(table, &p);
 
        while (rn) {
                rib_dest_t *dest;