summaryrefslogtreecommitdiffstats
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_spf.c')
-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;
}