From 413b499a0d711739bf81aa152da3b07bb72a3f5b Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Thu, 11 Nov 2010 18:14:48 +0300 Subject: implemented option to disable iprange module --- accel-pptpd/extra/ippool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'accel-pptpd/extra') diff --git a/accel-pptpd/extra/ippool.c b/accel-pptpd/extra/ippool.c index 5f90fe8..6136a14 100644 --- a/accel-pptpd/extra/ippool.c +++ b/accel-pptpd/extra/ippool.c @@ -50,11 +50,11 @@ static int parse1(const char *str, uint32_t *begin, uint32_t *end) return -1; if (f1 > 255) return -1; - if (f1 > 255) + if (f2 > 255) return -1; - if (f1 > 255) + if (f3 > 255) return -1; - if (f1 > 255) + if (f4 > 255) return -1; if (m == 0 || m > 32) return -1; -- cgit v1.2.3