]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: remove no-op
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 14 Oct 2021 16:47:02 +0000 (19:47 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 14 Oct 2021 16:47:02 +0000 (19:47 +0300)
ospf6_route_create already sets route->ospf6.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospf6d/ospf6_asbr.c

index cd2791fc48ccc1b71bb3527b85f73d423e83d08c..1eb53411c11929e86fee4cca0da95253eaa94da2 100644 (file)
@@ -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));