Change "new_ip_address" to "ip_addr"

 fix the issue that the variable new_ip_address is not defined in this file