Index: wifidog/src/conf.c =================================================================== --- wifidog.orig/src/conf.c 2014-02-07 17:02:11.009806887 +0100 +++ wifidog/src/conf.c 2014-02-07 17:03:24.329807175 +0100 @@ -528,7 +528,7 @@ port = leftover; TO_NEXT_WORD(leftover, finished); for (i = 0; *(port + i) != '\0'; i++) - if (!isdigit((unsigned char)*(port + i))) + if (!isdigit((unsigned char)*(port + i)) && *(port + i)!=':') all_nums = 0; /*< No longer only digits */ if (!all_nums) { debug(LOG_ERR, "Invalid port %s", port);