modify type of nexthop to (unkown, main, direct, region,node and link)