summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a8be059)
The code failed to skip past the `-' separating the parts of the port
range, so the max port always got forced to zero. Less than useful,
really.
NEXTNUMBER(q, del); *min = strtoul(q, 0, 0); RESCAN(del);
SKIPSPC;
if (*p == '-')
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); }