[PATCH 1/2] ospf: improve nexthop_calc