diff options
author | Mobashshera Rasool <mrasool@vmware.com> | 2021-07-15 17:47:36 +0200 |
---|---|---|
committer | Mobashshera Rasool <mrasool@vmware.com> | 2021-07-21 07:20:30 +0200 |
commit | 22813fdb86cc1caa38a24ca241e4f874c85769e2 (patch) | |
tree | 6bc99d751a2ff0b794c056957c18798e7d086c26 /ospf6d/ospf6_interface.c | |
parent | ospf6d: Review comment fixes (diff) | |
download | frr-22813fdb86cc1caa38a24ca241e4f874c85769e2.tar.xz frr-22813fdb86cc1caa38a24ca241e4f874c85769e2.zip |
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_interface.c')
-rw-r--r-- | ospf6d/ospf6_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index b52d6af90..12bc920c1 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -448,7 +448,7 @@ void ospf6_interface_connected_route_update(struct interface *ifp) } } - route = ospf6_route_create(); + route = ospf6_route_create(oi->area->ospf6); memcpy(&route->prefix, c->address, sizeof(struct prefix)); apply_mask(&route->prefix); route->type = OSPF6_DEST_TYPE_NETWORK; |