diff options
author | Kozlov Dmitry <dima@server> | 2010-11-11 18:14:48 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-11-11 18:14:48 +0300 |
commit | 413b499a0d711739bf81aa152da3b07bb72a3f5b (patch) | |
tree | 158923f1437a263fc017e4b515b9fc7c7b6d8481 /accel-pptpd/extra | |
parent | 8f5464b34e85d68c26e4cff16dfba2c00cf53adc (diff) | |
download | accel-ppp-413b499a0d711739bf81aa152da3b07bb72a3f5b.tar.gz accel-ppp-413b499a0d711739bf81aa152da3b07bb72a3f5b.zip |
implemented option to disable iprange module
Diffstat (limited to 'accel-pptpd/extra')
-rw-r--r-- | accel-pptpd/extra/ippool.c | 6 |
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; |