diff options
author | F. Aragon <paco@voltanet.io> | 2018-09-17 18:22:59 +0200 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-09-17 19:38:59 +0200 |
commit | 36de6e0e1ea886edd0ff7f706a5e8fc81ca9d1e6 (patch) | |
tree | 25f225b816fd7547224d54744b3631d2aa36620b /isisd/isis_redist.c | |
parent | Merge pull request #3007 from pacovn/static_analysis__shadow_variables2 (diff) | |
download | frr-36de6e0e1ea886edd0ff7f706a5e8fc81ca9d1e6.tar.xz frr-36de6e0e1ea886edd0ff7f706a5e8fc81ca9d1e6.zip |
bgpd isisd ldpd lib: const drop fixes (SA)
Can be detected with e.g. ./configure CFLAGS=-Wcast-qual CC=clang
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'isisd/isis_redist.c')
-rw-r--r-- | isisd/isis_redist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/isisd/isis_redist.c b/isisd/isis_redist.c index ab7584ed3..6564149a4 100644 --- a/isisd/isis_redist.c +++ b/isisd/isis_redist.c @@ -171,8 +171,7 @@ static void isis_redist_update_ext_reach(struct isis_area *area, int level, if (redist->map_name) { map_ret = - route_map_apply(redist->map, (struct prefix *)p, - RMAP_ISIS, &area_info); + route_map_apply(redist->map, p, RMAP_ISIS, &area_info); if (map_ret == RMAP_DENYMATCH) area_info.distance = 255; } @@ -441,7 +440,8 @@ static void isis_redist_set(struct isis_area *area, int level, int family, } isis_redist_update_ext_reach(area, level, redist, p, - (struct prefix_ipv6 *)src_p, info); + (const struct prefix_ipv6 *)src_p, + info); } } |