summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_route.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-03-04 18:45:00 +0100
committerhasso <hasso>2004-03-04 18:45:00 +0100
commitfa2b17e39499a77f41a719035a588b7fb63cec63 (patch)
tree3356703917aaa8359e0106ae3c2340ee6eea0e1f /ospfd/ospf_route.c
parent[quagga-dev 489] - fix ripd version send by Krzysztof Oledzki. (diff)
downloadfrr-fa2b17e39499a77f41a719035a588b7fb63cec63.tar.xz
frr-fa2b17e39499a77f41a719035a588b7fb63cec63.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c
index c1c11f190..9889d6be5 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)