summaryrefslogtreecommitdiff
path: root/accel-pptpd/extra/ippool.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/extra/ippool.c')
-rw-r--r--accel-pptpd/extra/ippool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pptpd/extra/ippool.c b/accel-pptpd/extra/ippool.c
index 5f90fe8a..6136a14d 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;