akara/faban — pull request #25 by shanti (2012-01-25 22:20:47+00:00)
Title: Fix for Issue #22

Instead of stripping out everything at and after the first '.' in the hostname, keep the part after the first dot only. This ensures that hostnames with one dot will work (e.g. all default Mac hostnames).