diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c index 8666831c7f59..bc384c4a7501 100644 --- a/bgpd/bgp_routemap.c +++ b/bgpd/bgp_routemap.c @@ -457,7 +457,7 @@ route_match_script(void *rule, const struct prefix *prefix, void *object) return RMAP_NOMATCH; } - long long *action = frrscript_get_result(fs, routematch_function, + int *action = frrscript_get_result(fs, routematch_function, "action", lua_tointegerp); int status = RMAP_NOMATCH;