Expanded the ip address search to allow subinterfaces.