~mdw
/
preload-hacks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
noip: Fix ACL parsing bug in port ranges.
[preload-hacks]
/
noip.c
diff --git
a/noip.c
b/noip.c
index
2e2f1b1
..
152540d
100644
(file)
--- a/
noip.c
+++ b/
noip.c
@@
-522,7
+522,7
@@
static void parse_ports(char **pp, unsigned short *min, unsigned short *max)
NEXTNUMBER(q, del); *min = strtoul(q, 0, 0); RESCAN(del);
SKIPSPC;
if (*p == '-')
- { NEXTNUMBER(q, del); *max = strtoul(q, 0, 0); RESCAN(del); }
+ {
p++;
NEXTNUMBER(q, del); *max = strtoul(q, 0, 0); RESCAN(del); }
else
*max = *min;
}