Added support for saving local ip state