conf: Reset range endpoints after parsing one excluded port specifier
I forgot to reset the range endpoints after parsing an item of the comma-separated list in commit220759efb8
("conf: Allow to specify ranges and ports excluded from given ranges") -- fix that. Fixes:220759efb8
("conf: Allow to specify ranges and ports excluded from given ranges") Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
8fc8fb7afe
commit
b86cd006d3
1 changed files with 1 additions and 0 deletions
1
conf.c
1
conf.c
|
@ -257,6 +257,7 @@ static int conf_ports(struct ctx *c, char optname, const char *optarg,
|
|||
|
||||
bitmap_set(exclude, i);
|
||||
}
|
||||
start_src = end_src = -1;
|
||||
break;
|
||||
default:
|
||||
goto bad;
|
||||
|
|
Loading…
Reference in a new issue