summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorLakshman Krishnamoorthy <lkrishnamoor@vmware.com>2019-06-04 00:36:02 +0200
committerLakshman Krishnamoorthy <lkrishnamoor@vmware.com>2019-06-04 00:43:02 +0200
commit2789041a46fd0109fa865a64bc1cf4751360f39e (patch)
tree9889aa5c920c47d172a4f6e50f1ff8686be1c8a3 /ospfd/ospf_zebra.c
parentMerge pull request #4451 from donaldsharp/routemap_return (diff)
downloadfrr-2789041a46fd0109fa865a64bc1cf4751360f39e.tar.xz
frr-2789041a46fd0109fa865a64bc1cf4751360f39e.zip
Revert of PR 4078 and PR 4315
Signed-off-by: Lakshman Krishnamoorthy <lkrishnamoor@vmware.com>
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 951402f47..c178e367d 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -943,7 +943,7 @@ int ospf_redistribute_check(struct ospf *ospf, struct external_info *ei,
/* apply route-map if needed */
red = ospf_redist_lookup(ospf, type, instance);
if (red && ROUTEMAP_NAME(red)) {
- route_map_result_t ret;
+ int ret;
ret = route_map_apply(ROUTEMAP(red), (struct prefix *)p,
RMAP_OSPF, ei);