Write code to locate next-hop peer for an address.