Fixed iface/new_ip config

Fixed a little bug in setting new ip and new iface