Fixed newDevice ip bug.
Merge pull request #18 from henninghall/newDevice

Fixed newDevice ip bug.