api_donpedro - better ip addresses saving

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-andrzej-jankowski/builds/98