summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/ippool.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/extra/ippool.c')
-rw-r--r--accel-pppd/extra/ippool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/extra/ippool.c b/accel-pppd/extra/ippool.c
index 616b156c..0c0831c2 100644
--- a/accel-pppd/extra/ippool.c
+++ b/accel-pppd/extra/ippool.c
@@ -127,7 +127,7 @@ static int parse1(const char *str, uint32_t *begin, uint32_t *end)
*begin = (f1 << 24) | (f2 << 16) | (f3 << 8) | f4;
- m = m == 32 ? 0xffffffff : ((1 << (32 - m)) - 1);
+ m = m == 32 ? 0 : ((1 << (32 - m)) - 1);
*end = *begin | m;
return 0;