add a sanity check to make sure local_ip from state is mine before restore