Convert to using heredoc #4

Merged
merged 1 commit into from Aug 8, 2012
Commits on Aug 8, 2012
  1. Convert to using heredoc

    genehack committed Aug 8, 2012
    Also handle case where IP address can't be detected.