]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: remove meaningless ospf6_route_is_identical
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 15 Nov 2021 16:27:27 +0000 (19:27 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Mon, 15 Nov 2021 16:27:27 +0000 (19:27 +0300)
commit8f359e1593c41432273458b0c7bfd7cd27b47d45
treed6872f6b3bb25993aafe0c0b9a5bdf87e8ce822b
parentde48804c01e077a54b4a46221c433c33abc4e334
ospf6d: remove meaningless ospf6_route_is_identical

As part of the check, it memcompares two structs ospf6_path. This struct
has a pointer field nh_list which is allocated every time a new path is
created, which means it can never be the same for two different paths.
Therefore this check is always false and can be completely removed.

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