summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'ucspi-tcp-0.88/rules.c')
-rw-r--r--ucspi-tcp-0.88/rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucspi-tcp-0.88/rules.c b/ucspi-tcp-0.88/rules.c
index 1840360..4fc2354 100644
--- a/ucspi-tcp-0.88/rules.c
+++ b/ucspi-tcp-0.88/rules.c
@@ -64,7 +64,7 @@ static int doit(void (*callback)(char *,unsigned int),char *ip,char *host,char *
if (!stralloc_copys(&rules_name,ip)) return -1;
while (rules_name.len > 0) {
- if (ip[rules_name.len - 1] == '.') {
+ if (ip[rules_name.len - 1] == '.' || ip[rules_name.len - 1] == ':') {
r = dorule(callback);
if (r) return r;
}