For leafs use the IP directly