[PATCH] ospfd: Optimize and improve SPF nexthop calculation