diff options
| author | Mobashshera Rasool <mrasool@vmware.com> | 2021-07-15 15:47:36 +0000 |
|---|---|---|
| committer | Mobashshera Rasool <mrasool@vmware.com> | 2021-07-21 05:20:30 +0000 |
| commit | 22813fdb86cc1caa38a24ca241e4f874c85769e2 (patch) | |
| tree | 6bc99d751a2ff0b794c056957c18798e7d086c26 /ospf6d/ospf6_spf.c | |
| parent | 789828186e64e7ce9d1234e27eade1efe076dd4e (diff) | |
ospf6d: Store ospf6 back pointer in route struct
Storing the pointer to ospf6 struct in route struct.
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_spf.c')
| -rw-r--r-- | ospf6d/ospf6_spf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c index 051b3a63ef..4e7a7146eb 100644 --- a/ospf6d/ospf6_spf.c +++ b/ospf6d/ospf6_spf.c @@ -374,7 +374,7 @@ static int ospf6_spf_install(struct ospf6_vertex *v, up to here. */ assert(route == NULL); - route = ospf6_route_create(); + route = ospf6_route_create(v->area->ospf6); memcpy(&route->prefix, &v->vertex_id, sizeof(struct prefix)); route->type = OSPF6_DEST_TYPE_LINKSTATE; route->path.type = OSPF6_PATH_TYPE_INTRA; |
