From 33f4519d2c3c651a32743722e247d5c83b33ba68 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Thu, 14 Oct 2021 19:47:02 +0300 Subject: [PATCH] ospf6d: remove no-op ospf6_route_create already sets route->ospf6. Signed-off-by: Igor Ryzhov --- ospf6d/ospf6_asbr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index cd2791fc48..1eb53411c1 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -1522,7 +1522,6 @@ void ospf6_asbr_redistribute_add(int type, ifindex_t ifindex, route = ospf6_route_create(ospf6); route->type = OSPF6_DEST_TYPE_NETWORK; prefix_copy(&route->prefix, prefix); - route->ospf6 = ospf6; info = (struct ospf6_external_info *)XCALLOC( MTYPE_OSPF6_EXTERNAL_INFO, sizeof(struct ospf6_external_info)); -- 2.39.5