summaryrefslogtreecommitdiff
path: root/ripngd/ripngd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r--ripngd/ripngd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index 8d9249e4ae..1ebdae43fb 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -748,8 +748,7 @@ static void ripng_route_process(struct rte *rte, struct sockaddr_in6 *from,
/* Modify entry. */
if (ri->routemap[RIPNG_FILTER_IN]) {
ret = route_map_apply(ri->routemap[RIPNG_FILTER_IN],
- (struct prefix *)&p, RMAP_RIPNG,
- &newinfo);
+ (struct prefix *)&p, &newinfo);
if (ret == RMAP_DENYMATCH) {
if (IS_RIPNG_DEBUG_PACKET)
@@ -1661,7 +1660,7 @@ void ripng_output_process(struct interface *ifp, struct sockaddr_in6 *to,
if (ri->routemap[RIPNG_FILTER_OUT]) {
ret = route_map_apply(
ri->routemap[RIPNG_FILTER_OUT],
- (struct prefix *)p, RMAP_RIPNG, rinfo);
+ (struct prefix *)p, rinfo);
if (ret == RMAP_DENYMATCH) {
if (IS_RIPNG_DEBUG_PACKET)
@@ -1677,7 +1676,7 @@ void ripng_output_process(struct interface *ifp, struct sockaddr_in6 *to,
ret = route_map_apply(ripng->redist[rinfo->type]
.route_map.map,
(struct prefix *)p,
- RMAP_RIPNG, rinfo);
+ rinfo);
if (ret == RMAP_DENYMATCH) {
if (IS_RIPNG_DEBUG_PACKET)
@@ -1773,8 +1772,7 @@ void ripng_output_process(struct interface *ifp, struct sockaddr_in6 *to,
ret = route_map_apply(
ri->routemap[RIPNG_FILTER_OUT],
- (struct prefix *)p, RMAP_RIPNG,
- &newinfo);
+ (struct prefix *)p, &newinfo);
if (ret == RMAP_DENYMATCH) {
if (IS_RIPNG_DEBUG_PACKET)