Blame SOURCES/0009-routemap.patch

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