Fix setting default address and address redirection
Merge pull request #179 from Bladrak/fixDefaultAddress

Fix setting default address and address redirection