bgp: fix bug corresponding to next_hop length