Typo fix
Changelog, closes #1147
break the loop when the host is gateway itself
Formatting tweaks
Changelog, fixes #1165