diff options
author | hasso <hasso> | 2004-03-04 17:45:00 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-03-04 17:45:00 +0000 |
commit | fa2b17e39499a77f41a719035a588b7fb63cec63 (patch) | |
tree | 3356703917aaa8359e0106ae3c2340ee6eea0e1f /ospfd/ospf_route.c | |
parent | caa6f8ac7d07f8cd3269255e6dce6d248f74af62 (diff) |
Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGER
from vtysh ([quagga-dev 932]).
Diffstat (limited to 'ospfd/ospf_route.c')
-rw-r--r-- | ospfd/ospf_route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c index c1c11f19..9889d6be 100644 --- a/ospfd/ospf_route.c +++ b/ospfd/ospf_route.c @@ -192,8 +192,8 @@ ospf_route_delete_same_ext(struct route_table *external_routes, { if (rn && rn->info) { - struct prefix_ipv4 *p = &rn->p; - if ( (ext_rn = route_node_lookup (external_routes, p)) ) + struct prefix_ipv4 *p = (struct prefix_ipv4 *)(&rn->p); + if ( (ext_rn = route_node_lookup (external_routes, (struct prefix *)p)) ) { ospf_zebra_delete (p, ext_rn->info); if (ext_rn->info) |