View | Details | Raw Unified | Return to bug 155979 | Differences between
and this patch

Collapse All | Expand All

(-)spamass-milter.cpp (-1 / +1 lines)
Lines 2044-2050 Link Here
2044
						exit(1);
2044
						exit(1);
2045
					}
2045
					}
2046
					mask.s_addr = htonl(~((1L << (32 - bits)) - 1) & 0xffffffff);
2046
					mask.s_addr = htonl(~((1L << (32 - bits)) - 1) & 0xffffffff);
2047
				} else if (!inet_pton(AF_INET6, tmask, &mask))
2047
				} else if (!inet_pton(AF_INET, tmask, &mask))
2048
				{
2048
				{
2049
					fprintf(stderr, "Could not parse \"%s\" as a netmask\n", tmask);
2049
					fprintf(stderr, "Could not parse \"%s\" as a netmask\n", tmask);
2050
					exit(1);
2050
					exit(1);

Return to bug 155979