diff options
author | F. Aragon <paco@voltanet.io> | 2018-09-12 12:55:31 +0200 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-09-12 12:55:31 +0200 |
commit | dc7204b77579fc5667c330a8917eb55e1829f2c9 (patch) | |
tree | dff4ecb5b21dccbe24a39f54389bbc2fd0802b48 /ripngd | |
parent | Merge pull request #2944 from thbtcllt/master (diff) | |
download | frr-dc7204b77579fc5667c330a8917eb55e1829f2c9.tar.xz frr-dc7204b77579fc5667c330a8917eb55e1829f2c9.zip |
pimd ripd ripngd: variable shadowing fixes
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ripngd')
-rw-r--r-- | ripngd/ripngd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index d1341d67b..850216b44 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -706,8 +706,6 @@ static void ripng_route_process(struct rte *rte, struct sockaddr_in6 *from, /* Modify entry. */ if (ri->routemap[RIPNG_FILTER_IN]) { - int ret; - ret = route_map_apply(ri->routemap[RIPNG_FILTER_IN], (struct prefix *)&p, RMAP_RIPNG, &newinfo); @@ -1618,8 +1616,6 @@ void ripng_output_process(struct interface *ifp, struct sockaddr_in6 *to, /* Interface route-map */ if (ri->routemap[RIPNG_FILTER_OUT]) { - int ret; - ret = route_map_apply( ri->routemap[RIPNG_FILTER_OUT], (struct prefix *)p, RMAP_RIPNG, rinfo); @@ -1636,8 +1632,6 @@ void ripng_output_process(struct interface *ifp, struct sockaddr_in6 *to, /* Redistribute route-map. */ if (ripng->route_map[rinfo->type].name) { - int ret; - ret = route_map_apply( ripng->route_map[rinfo->type].map, (struct prefix *)p, RMAP_RIPNG, rinfo); @@ -1724,7 +1718,6 @@ void ripng_output_process(struct interface *ifp, struct sockaddr_in6 *to, /* Interface route-map */ if (ri->routemap[RIPNG_FILTER_OUT]) { - int ret; struct ripng_info newinfo; /* let's cast the aggregate structure to |