summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 776c3519be..2864e0b8a5 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -598,7 +598,7 @@ zebra_add_import_table_entry (struct route_node *rn, struct rib *rib, const char
for (nhop = rib->nexthop; nhop; nhop = nhop->next)
rib_copy_nexthops(newrib, nhop);
- rib_add_ipv4_multipath((struct prefix_ipv4 *)&p, newrib, SAFI_UNICAST);
+ rib_add_multipath(AFI_IP, SAFI_UNICAST, &p, newrib);
}
}
}