Blame SOURCES/0009-routemap.patch

b57a21
diff --git a/lib/routemap.c b/lib/routemap.c
b57a21
index a90443a..0b594b2 100644
b57a21
--- a/lib/routemap.c
b57a21
+++ b/lib/routemap.c
b57a21
@@ -1649,9 +1649,9 @@ static struct list *route_map_get_index_list(struct route_node **rn,
b57a21
  */
b57a21
 static struct route_map_index *
b57a21
 route_map_get_index(struct route_map *map, const struct prefix *prefix,
b57a21
-		    route_map_object_t type, void *object, uint8_t *match_ret)
b57a21
+		    route_map_object_t type, void *object, enum route_map_cmd_result_t *match_ret)
b57a21
 {
b57a21
-	int ret = 0;
b57a21
+	enum route_map_cmd_result_t ret = RMAP_NOMATCH;
b57a21
 	struct list *candidate_rmap_list = NULL;
b57a21
 	struct route_node *rn = NULL;
b57a21
 	struct listnode *ln = NULL, *nn = NULL;
b57a21
@@ -2399,7 +2399,7 @@ route_map_result_t route_map_apply(struct route_map *map,
b57a21
 	if ((!map->optimization_disabled)
b57a21
 	    && (map->ipv4_prefix_table || map->ipv6_prefix_table)) {
b57a21
 		index = route_map_get_index(map, prefix, type, object,
b57a21
-					    (uint8_t *)&match_ret);
b57a21
+					    &match_ret);
b57a21
 		if (index) {
b57a21
 			if (rmap_debug)
b57a21
 				zlog_debug(