summaryrefslogtreecommitdiff
path: root/accel-pptpd/iprange.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/iprange.c')
-rw-r--r--accel-pptpd/iprange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/iprange.c b/accel-pptpd/iprange.c
index 000e6e6d..317b66dc 100644
--- a/accel-pptpd/iprange.c
+++ b/accel-pptpd/iprange.c
@@ -71,7 +71,7 @@ static struct iprange_t *parse2(const char *str)
r = malloc(sizeof(*r));
r->prefix = (f4 << 24) | (f3 << 16) | (f2 << 8) | f1;
- r->end = (m << 24) | (f2 << 16) | (f3 << 8) | f1;
+ r->end = (m << 24) | (f3 << 16) | (f2 << 8) | f1;
r->mask = 0;
return r;