Skip to content

Commit

Permalink
Fix issue #90, proxy count may be less than max uuid
Browse files Browse the repository at this point in the history
(cherry picked from commit 975710a)
  • Loading branch information
jiangwenyuan committed Jul 9, 2020
1 parent 9043e3d commit dffdf11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nuster/nuster.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ _nst_proxy_init() {
}
}

proxy_cnt++;
proxy_cnt = MAX(proxy_cnt, px1->uuid + 1);
px1 = px1->next;
}

Expand Down

0 comments on commit dffdf11

Please sign in to comment.