gwash/afraid-dyndns — pull request #3 by Ichimonji10 (2012-04-24 09:15:06+00:00)
Title: fix for fetching external ip address

There's a couple different changes in this set of commits, but here's the most important: I've fixed the getextip() subroutine so that it can fetch an IP address without vomiting up gobs of errors. Without this set of commits, you'll be getting error messages like this in your logs (taken from my personal machine): http://pastebin.com/raw.php?i=0fsRwe43

Here's some of the other changes:
* If readfile() fails to read any configuration parameters at all, the script will die and inform the user that the configuration file "might be non-existent or empty." Previously, the script would continue on and only inform the user that something was wrong when a (non-existent) parameter/setting was requested.
* updates to debugging messages
* updates to documentation for getextip() and readfile()