]> git.puffer.fish Git - mirror/frr.git/commit
zebra: rt_socket.c should not use SET_FLAG
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 16 Nov 2017 17:26:07 +0000 (12:26 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 16 Nov 2017 18:13:08 +0000 (13:13 -0500)
commit2d74d637310ea5532718ce452e2547f283b0cb56
tree084b7fb7c759a9b5095535be9a5924a49d1ab3a7
parentb33803d74a9d53bf1837ef28a22cab4893c09379
zebra: rt_socket.c should not use SET_FLAG

The SET_FLAG(nexthop->flags, NEXTHOP_FLAG_FIB)
is already taken care of in zebra_rib.c.  There
is no need for this to be handled by rt_socket.c.

rt_netlink.c does not do a SET_FLAG(nexthop->flags, NEXTHOP_FLAG_FIB)
for route installation.  Please note it does do it for a mpls
labeled route installation, which will be fixed in a future
commit.

Remove some dead code from 2002 as well.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_socket.c