summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2022-05-09 23:16:30 +0200
committerGitHub <noreply@github.com>2022-05-09 23:16:30 +0200
commit2a3807c3cec0c37461d94c447d0997027af1c5a0 (patch)
treed3f12bc4a5d5da573fb3d80bcf9ba0337d8c2ee8 /isisd
parentMerge pull request #11154 from opensourcerouting/fix/increase_bgp_flags (diff)
parent*: Avoid casting to the same type as on the left (diff)
downloadfrr-2a3807c3cec0c37461d94c447d0997027af1c5a0.tar.xz
frr-2a3807c3cec0c37461d94c447d0997027af1c5a0.zip
Merge pull request #11163 from opensourcerouting/fix/same_type_casting
*: Avoid casting to the same type as on the left
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index 10ba6a35b..49c62d2cf 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -706,7 +706,7 @@ static void process_N(struct isis_spftree *spftree, enum vertextype vtype,
if (vtype >= VTYPE_IPREACH_INTERNAL) {
memcpy(&p, id, sizeof(p));
apply_mask(&p.dest);
- apply_mask((struct prefix *)&p.src);
+ apply_mask(&p.src);
id = &p;
}